Localization.SetAttributes(Object, String) 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.
Sets the AttributesProperty attached property for the specified element.
public:
static void SetAttributes(System::Object ^ element, System::String ^ attributes);
public static void SetAttributes (object element, string attributes);
static member SetAttributes : obj * string -> unit
Public Shared Sub SetAttributes (element As Object, attributes As String)
Parameters
Examples
The following code example shows how to set the localization attributes for a button.
Remarks
Localization attributes specify which resources are to be localized. For more information on how to define localization attributes, see Localization Attributes and Comments.
Applies to
See also
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.