Share via


XamlLight.GetId Método

Definición

Devuelve el identificador del tipo XamlLight personalizado.

En la mayoría de los casos, debe usar un identificador único para evitar conflictos. Por ejemplo, puedes usar fullName del tipo XamlLight personalizado.

El identificador se usa para agregar y quitar pinceles y UIElements como destinos para un tipo de luz específico.

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

Devoluciones

String

Platform::String

winrt::hstring

Identificador de XamlLight.

Se aplica a