共用方式為


AutomationProperties.GetPositionInSet(DependencyObject) 方法

定義

public:
 static int GetPositionInSet(DependencyObject ^ element);
 static int GetPositionInSet(DependencyObject const& element);
public static int GetPositionInSet(DependencyObject element);
function getPositionInSet(element)
Public Shared Function GetPositionInSet (element As DependencyObject) As Integer

參數

element
DependencyObject

要檢查的 DependencyObject

傳回

Int32

int

AutomationProperties.PositionInSet屬性的值。

適用於

另請參閱