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
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.