Share via


AutomationProperties.SetFullDescription(DependencyObject, String) 方法

定义

设置描述指定 DependencyObject 的视觉外观或内容的本地化字符串。

public:
 static void SetFullDescription(DependencyObject ^ element, Platform::String ^ value);
 static void SetFullDescription(DependencyObject const& element, winrt::hstring const& value);
public static void SetFullDescription(DependencyObject element, string value);
function setFullDescription(element, value)
Public Shared Sub SetFullDescription (element As DependencyObject, value As String)

参数

element
DependencyObject

要为其设置完整说明的对象。

value
String

Platform::String

winrt::hstring

元素参数中指定的对象的本地化完整说明。

Windows 要求

设备系列
Windows 10 Anniversary Edition (在 10.0.14393.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v3.0 中引入)

适用于

另请参阅