共用方式為


IVsMonitorSelection2.GetElementID Method

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

Syntax

'宣告
Function GetElementID ( _
    ByRef rguidElement As Guid, _
    <OutAttribute> ByRef pElementId As UInteger _
) As Integer
'用途
Dim instance As IVsMonitorSelection2
Dim rguidElement As Guid
Dim pElementId As UInteger
Dim returnValue As Integer

returnValue = instance.GetElementID(rguidElement, _
    pElementId)
int GetElementID(
    ref Guid rguidElement,
    out uint pElementId
)
int GetElementID(
    [InAttribute] Guid% rguidElement, 
    [OutAttribute] unsigned int% pElementId
)
abstract GetElementID : 
        rguidElement:Guid byref * 
        pElementId:uint32 byref -> int 
function GetElementID(
    rguidElement : Guid, 
    pElementId : uint
) : int

Parameters

Return Value

Type: System.Int32

.NET Framework Security

See Also

Reference

IVsMonitorSelection2 Interface

IVsMonitorSelection2 Members

Microsoft.VisualStudio.Shell.Interop Namespace