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
- rguidElement
Type: System.Guid%
- pElementId
Type: System.UInt32%
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.