Editare

Partajați prin


Localization.GetAttributes(Object) Method

Definition

Gets the value of the AttributesProperty attached property from a specified element.

public:
 static System::String ^ GetAttributes(System::Object ^ element);
[System.Windows.AttachedPropertyBrowsableForType(typeof(System.Object))]
public static string GetAttributes (object element);
[<System.Windows.AttachedPropertyBrowsableForType(typeof(System.Object))>]
static member GetAttributes : obj -> string
Public Shared Function GetAttributes (element As Object) As String

Parameters

element
Object

A Object that represents the element whose attached property you want to retrieve.

Returns

A String value that represents the localization attribute.

Attributes

Examples

The following code example shows how to retrieve the localization attributes defined for a button.

Remarks

Localization attributes specify which resources are to be localized.

Applies to

See also