Gets the configuration corresponding to the browse object.
Namespace: Microsoft.VisualStudio.Package
Assembly: MPF.Project.NonShipping (in MPF.Project.NonShipping.dll)
Syntax
'宣言
Public Overridable Function GetCfg ( _
<OutAttribute> ByRef cfg As IVsCfg _
) As Integer
'使用
Dim instance As ProjectConfig
Dim cfg As IVsCfg
Dim returnValue As Integer
returnValue = instance.GetCfg(cfg)
public virtual int GetCfg(
out IVsCfg cfg
)
public:
virtual int GetCfg(
[OutAttribute] IVsCfg^% cfg
)
public function GetCfg(
cfg : IVsCfg
) : int
Parameters
cfg
Type: Microsoft.VisualStudio.Shell.Interop.IVsCfg%[out] The browse object.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Implements
IVsCfgBrowseObject.GetCfg(IVsCfg%)
Remarks
This method is part of the IVsCfgBrowseObject interface.
Permissions
- 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.