共用方式為


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

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

See Also

Reference

IVsProjectCfg2 Interface

IVsProjectCfg2 Members

Microsoft.VisualStudio.Shell.Interop Namespace