共用方式為


IVsCfgBrowseObject.GetCfg Method

Maps back to the configuration corresponding to the browse object.

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

Syntax

'宣告
Function GetCfg ( _
    <OutAttribute> ByRef ppCfg As IVsCfg _
) As Integer
'用途
Dim instance As IVsCfgBrowseObject
Dim ppCfg As IVsCfg
Dim returnValue As Integer

returnValue = instance.GetCfg(ppCfg)
int GetCfg(
    out IVsCfg ppCfg
)
int GetCfg(
    [OutAttribute] IVsCfg^% ppCfg
)
abstract GetCfg : 
        ppCfg:IVsCfg byref -> int 
function GetCfg(
    ppCfg : IVsCfg
) : int

Parameters

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 IVsCfgBrowseObject::GetCfg(
   [out] IVsCfg **ppCfg
);

.NET Framework Security

See Also

Reference

IVsCfgBrowseObject Interface

IVsCfgBrowseObject Members

Microsoft.VisualStudio.Shell.Interop Namespace