Localization.GetAttributes(Object) Method
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 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
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
Samarbeid med oss på GitHub
Du finner kilden for dette innholdet på GitHub. Der du også kan opprette og se gjennom problemer og pull-forespørsler. Hvis du vil ha mer informasjon, kan du se vår bidragsyterveiledning.