이 설명서는 보관되지만 유지 되지 않습니다.

Localization.GetAttributes 메서드

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

네임스페이스: System.Windows
어셈블리: PresentationFramework(presentationframework.dll)

[AttachedPropertyBrowsableForTypeAttribute(typeof(Object))] 
public static string GetAttributes (
	Object element
)
/** @attribute AttachedPropertyBrowsableForTypeAttribute(System.Object) */ 
public static String GetAttributes (
	Object element
)
AttachedPropertyBrowsableForTypeAttribute(System.Object) 
public static function GetAttributes (
	element : Object
) : String
XAML에서 메서드를 사용할 수 없습니다.

매개 변수

element

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

반환 값

A String value that represents the localization attribute.

Localization attributes specify which resources are to be localized.

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

// Retreive the localization attributes from the button.
string attributes = Localization.GetAttributes(buttonLocalized);

Microsoft .NET Framework 3.0은 Windows Vista, Microsoft Windows XP SP2 및 Windows Server 2003 SP1에서 지원됩니다.

.NET Framework

3.0에서 지원
표시: