DnssdServiceInstance.TextAttributes Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the attributes of this service instance, as a list of [name, value] pairs of strings. Attributes can be inspected by service clients to determine additional information about a service instance.
The specific attribute names and values used by a service are determined by the designer of the service. For example, a service instance for a multiplayer game might have attributes describing which game map the instance is using, or the game difficulty level of the instance. Different service instances would be active for different maps or difficulty levels, and a client using the game service could use the attribute values to determine which game server instance to connect to for the player's preferred map or difficulty level.
public:
property IMap<Platform::String ^, Platform::String ^> ^ TextAttributes { IMap<Platform::String ^, Platform::String ^> ^ get(); };
IMap<winrt::hstring, winrt::hstring const&> TextAttributes();
public IDictionary<string,string> TextAttributes { get; }
var iMap = dnssdServiceInstance.textAttributes;
Public ReadOnly Property TextAttributes As IDictionary(Of String, String)
Property Value
A collection of attribute [name,value] pairs.