Returns the configuration provider for the associated hierarchy node.
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 NodeProperties
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%[out] IVsCfgProvider.
Return Value
Type: System.Int32
When implemented by derived classes, if the method succeeds it returns S_OK, otherwise an error code..
Implements
IVsGetCfgProvider.GetCfgProvider(IVsCfgProvider%)
Remarks
By default this method returns a a null reference (Nothing in Visual Basic) configuration provider and E_NOTIMPL.
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.