WebProjectManager.IsPackageInstalled Method
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Determines whether the specified package is installed.
Namespace: System.Web.WebPages.Administration.PackageManager
Assembly: System.Web.WebPages.Administration (in System.Web.WebPages.Administration.dll)
Syntax
'Declaration
Public Function IsPackageInstalled ( _
package As IPackage _
) As Boolean
'Usage
Dim instance As WebProjectManager
Dim package As IPackage
Dim returnValue As Boolean
returnValue = instance.IsPackageInstalled(package)
public bool IsPackageInstalled(
IPackage package
)
public:
virtual bool IsPackageInstalled(
IPackage^ package
) sealed
abstract IsPackageInstalled :
package:IPackage -> bool
override IsPackageInstalled :
package:IPackage -> bool
public final function IsPackageInstalled(
package : IPackage
) : boolean
Parameters
- package
Type: IPackage
The package to check.
Return Value
Type: System.Boolean
true if the specified package is installed; otherwise, false.
Implements
IWebProjectManager.IsPackageInstalled(IPackage)