Skip to content
Documentation

IFlagNameProvider Interface

Attempts to find a friendly name assigned to a Flag of a specific value.

public interface IFlagNameProvider

Gets the friendly name of the given flag. If none is found, System.String.Empty will be returned. Should never return null.

string GetName(HAKOM.TSM.Net.Api.Flags.Flag flag);

flag Flag

The Flag for which to get the name.

System.String
The friendly name assigned to the flag or System.String.Empty.

IFlagNameProvider.TryGetName(Flag, string) Method

Section titled “IFlagNameProvider.TryGetName(Flag, string) Method”

Attempts to get the friendly name for the given flag from this IFlagNameMapping.

bool TryGetName(HAKOM.TSM.Net.Api.Flags.Flag flag, out string name);

flag Flag

The Flag for which to get the name.

name System.String

If successful, contains the name that represents the given flag. Null otherwise.

System.Boolean
True if this IFlagNameMapping contains a name for the given flag.

© 2026 Volue.Version v0.6.38017 November 2026