Partilhar via


AutomationProperties.SetItemStatus(DependencyObject, String) Método

Definição

Define o valor da propriedade anexada AutomationProperties.ItemStatus para o DependencyObject especificado.

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

Parâmetros

element
DependencyObject

O DependencyObject para o qual definir a propriedade.

value
String

Platform::String

winrt::hstring

O item status.

Aplica-se a