IVsDeferredDocView.get_CmdUIGuid Method
Retrieves the GUID for the pane or editor factory for later use when you create the view.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Syntax
‘선언
Function get_CmdUIGuid ( _
<OutAttribute> ByRef pGuidCmdId As Guid _
) As Integer
‘사용 방법
Dim instance As IVsDeferredDocView
Dim pGuidCmdId As Guid
Dim returnValue As Integer
returnValue = instance.get_CmdUIGuid(pGuidCmdId)
int get_CmdUIGuid(
out Guid pGuidCmdId
)
int get_CmdUIGuid(
[OutAttribute] Guid% pGuidCmdId
)
abstract get_CmdUIGuid :
pGuidCmdId:Guid byref -> int
function get_CmdUIGuid(
pGuidCmdId : Guid
) : int
Parameters
- pGuidCmdId
Type: System.Guid%
[out] Pointer to a GUID for the deferred view. Usually the GUID for the pane. Used as an argument to CreateDocumentWindow when you create the view.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From vsshell80.idl:
HRESULT IVsDeferredDocView::get_CmdUIGuid(
[out] GUID *pGuidCmdId
);
.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.