Gets the configuration provider.
Namespace: Microsoft.VisualStudio.Package
Assembly: MPF.Project.NonShipping (in MPF.Project.NonShipping.dll)
Syntax
'宣言
Public Overrides Function GetCfgProvider ( _
<OutAttribute> ByRef p As IVsCfgProvider _
) As Integer
'使用
Dim instance As ProjectNodeProperties
Dim p As IVsCfgProvider
Dim returnValue As Integer
returnValue = instance.GetCfgProvider(p)
public override int GetCfgProvider(
out IVsCfgProvider p
)
public:
virtual int GetCfgProvider(
[OutAttribute] IVsCfgProvider^% p
) override
public override function GetCfgProvider(
p : IVsCfgProvider
) : int
Parameters
p
Type: Microsoft.VisualStudio.Shell.Interop.IVsCfgProvider%[out] If the associated hierarchy node belongs to a project, returns the IVsCfgProvider of the associated node's project node. Otherwise returns a null reference (Nothing in Visual Basic).
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK, otherwise 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.