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
Tehke meiega GitHubis koostööd
Selle sisu allika leiate GitHubist, kus saate ka probleeme luua ja läbi vaadata ning päringuid teha. Lisateavet leiate meie kaasautorite juhendist.