Compartir a través de


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

'Declaration
Function get_CmdUIGuid ( _
    <OutAttribute> ByRef pGuidCmdId As Guid _
) As Integer
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: 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: 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

See Also

Reference

IVsDeferredDocView Interface

Microsoft.VisualStudio.Shell.Interop Namespace