IVsProjectCfg2.OutputsRequireAppRoot Method
This method replaces the get_IsWebApplication method from the now-obsolete IVsDeployWebProject interface.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'宣告
Function OutputsRequireAppRoot ( _
<OutAttribute> ByRef pfRequiresAppRoot As Integer _
) As Integer
'用途
Dim instance As IVsProjectCfg2
Dim pfRequiresAppRoot As Integer
Dim returnValue As Integer
returnValue = instance.OutputsRequireAppRoot(pfRequiresAppRoot)
int OutputsRequireAppRoot(
out int pfRequiresAppRoot
)
int OutputsRequireAppRoot(
[OutAttribute] int% pfRequiresAppRoot
)
abstract OutputsRequireAppRoot :
pfRequiresAppRoot:int byref -> int
function OutputsRequireAppRoot(
pfRequiresAppRoot : int
) : int
Parameters
- pfRequiresAppRoot
Type: System.Int32%
[out]
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From vsshell.idl:
HRESULT IVsProjectCfg2::OutputsRequireAppRoot(
[out]BOOL *pfRequiresAppRoot
);
.NET Framework Security
- 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.