Bagikan melalui


IVsWebMigrationService.IsWebProject Method

Determines whether the specified project is a web project.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.9.0 (in Microsoft.VisualStudio.Shell.Interop.9.0.dll)

Syntax

'Declaration
Function IsWebProject ( _
    pszProjFile As String, _
    <OutAttribute> ByRef pIsWeb As Integer _
) As Integer
int IsWebProject(
    string pszProjFile,
    out int pIsWeb
)
int IsWebProject(
    [InAttribute] String^ pszProjFile, 
    [OutAttribute] int% pIsWeb
)
abstract IsWebProject : 
        pszProjFile:string * 
        pIsWeb:int byref -> int
function IsWebProject(
    pszProjFile : String, 
    pIsWeb : int
) : int

Parameters

  • pszProjFile
    Type: String

    The project file name.

  • pIsWeb
    Type: Int32%

    [out] 1 if the project is a web project, otherwise 0.

Return Value

Type: Int32
The HRESULT.

.NET Framework Security

See Also

Reference

IVsWebMigrationService Interface

Microsoft.VisualStudio.Shell.Interop Namespace