共用方式為


AutomationProperties.SetPositionInSet(DependencyObject, Int32) 方法

定義

設定指定DependencyObjectAutomationProperties.PositionInSet附加屬性的值。

public:
 static void SetPositionInSet(DependencyObject ^ element, int value);
 static void SetPositionInSet(DependencyObject const& element, int const& value);
public static void SetPositionInSet(DependencyObject element, int value);
function setPositionInSet(element, value)
Public Shared Sub SetPositionInSet (element As DependencyObject, value As Integer)

參數

element
DependencyObject

要為其設定屬性的 DependencyObject

value
Int32

int

屬性的值。

適用於

另請參閱