Returns an IVsCfgProvider2 object so that the VSPackage can retrieve information relating to the project's configuration.
Namespace: Microsoft.VisualStudio.Package
Assembly: MPF.Project.NonShipping (in MPF.Project.NonShipping.dll)
Syntax
'宣言
Public Overridable Function GetCfgProvider ( _
<OutAttribute> ByRef p As IVsCfgProvider _
) As Integer
'使用
Dim instance As ProjectNode
Dim p As IVsCfgProvider
Dim returnValue As Integer
returnValue = instance.GetCfgProvider(p)
public virtual int GetCfgProvider(
out IVsCfgProvider p
)
public:
virtual int GetCfgProvider(
[OutAttribute] IVsCfgProvider^% p
)
public function GetCfgProvider(
p : IVsCfgProvider
) : int
Parameters
p
Type: Microsoft.VisualStudio.Shell.Interop.IVsCfgProvider%Specifies an IVsCfgProvider object.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Implements
IVsGetCfgProvider.GetCfgProvider(IVsCfgProvider%)
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.