This method is required for debugging Web projects.
Namespace: Microsoft.VisualStudio.Package
Assembly: MPF.Project.NonShipping (in MPF.Project.NonShipping.dll)
Syntax
'宣言
Public Overridable Function get_VirtualRoot ( _
<OutAttribute> ByRef pbstrVRoot As String _
) As Integer
'使用
Dim instance As ProjectConfig
Dim pbstrVRoot As String
Dim returnValue As Integer
returnValue = instance.get_VirtualRoot(pbstrVRoot)
public virtual int get_VirtualRoot(
out string pbstrVRoot
)
public:
virtual int get_VirtualRoot(
[OutAttribute] String^% pbstrVRoot
)
public function get_VirtualRoot(
pbstrVRoot : String
) : int
Parameters
pbstrVRoot
Type: System.String%[out] Pointer to the virtual root.
Return Value
Type: System.Int32
When implemented by derived classes, returns S_OK if successful, or an error code.
Implements
IVsProjectCfg2.get_VirtualRoot(String%)
Remarks
By default returns E_NOTIMPL and a a null reference (Nothing in Visual Basic)pbstrVRoot.
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.