Bagikan melalui


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

'Declaration
Function OutputsRequireAppRoot ( _
    <OutAttribute> ByRef pfRequiresAppRoot As Integer _
) As Integer
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

Microsoft.VisualStudio.Shell.Interop Namespace