Namespace:  Microsoft.VisualStudio.PlatformUI
Assembly:  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
声明
Public Shared Function GetIndex ( _
    element As UIElement _
) As Integer
用法
Dim element As UIElement
Dim returnValue As Integer
returnValue = SplitterPanel.GetIndex(element)
public static int GetIndex(
    UIElement element
)
public:
static int GetIndex(
    UIElement^ element
)
static member GetIndex : 
        element:UIElement -> int 
public static function GetIndex(
    element : UIElement
) : int
Parameters
- element
 Type: System.Windows.UIElement
Return Value
Type: System.Int32
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.