Dela via


XamlLight.GetId Method

Definition

Returns the identifier for the custom XamlLight type.

In most cases you should use a unique identifier to prevent conflicts. For example, you can use the FullName of your custom XamlLight type.

The identifier is used to add and remove Brushes and UIElements as targets for a specific light type.

protected:
 virtual Platform::String ^ GetId() = GetId;
winrt::hstring GetId();
protected virtual string GetId();
function getId()
Protected Overridable Function GetId () As String

Returns

String

Platform::String

winrt::hstring

The identifier for the XamlLight.

Applies to