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
- ppCfg
Type: Microsoft.VisualStudio.Shell.Interop.IVsCfg%
[out] Pointer to the configuration object.
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
- 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.