Edit

Share via


IXamlNameProvider.GetName(Object) Method

Definition

Retrieves the XAML name of the specified object.

public:
 System::String ^ GetName(System::Object ^ value);
public string GetName (object value);
abstract member GetName : obj -> string
Public Function GetName (value As Object) As String

Parameters

value
Object

The object to get the name for.

Returns

The XAML name value of the requested object.

Remarks

The default .NET Framework XAML Services implementation relies on a XAML schema context that can report the object names being used in the runtime object graph.

Applies to