Share via


IWebProjectManager.GetPackagesWithUpdates Method

Returns updates for packages where the default set of properties contain the specified search text.

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Namespace:  System.Web.WebPages.Administration.PackageManager
Assembly:  System.Web.WebPages.Administration (in System.Web.WebPages.Administration.dll)

Syntax

'Declaration
Function GetPackagesWithUpdates ( _
    searchTerms As String, _
    filterPreferredPackages As Boolean _
) As IEnumerable(Of IPackage)
'Usage
Dim instance As IWebProjectManager 
Dim searchTerms As String 
Dim filterPreferredPackages As Boolean 
Dim returnValue As IEnumerable(Of IPackage)

returnValue = instance.GetPackagesWithUpdates(searchTerms, _
    filterPreferredPackages)
IEnumerable<IPackage> GetPackagesWithUpdates(
    string searchTerms,
    bool filterPreferredPackages
)
IEnumerable<IPackage^>^ GetPackagesWithUpdates(
    String^ searchTerms, 
    bool filterPreferredPackages
)
abstract GetPackagesWithUpdates : 
        searchTerms:string * 
        filterPreferredPackages:bool -> IEnumerable<IPackage> 
function GetPackagesWithUpdates(
    searchTerms : String, 
    filterPreferredPackages : boolean
) : IEnumerable<IPackage>

Parameters

  • filterPreferredPackages
    Type: System.Boolean
    true to enable filtering of ASP.Net web pages; otherwise, false.

Return Value

Type: System.Collections.Generic.IEnumerable<IPackage>
The list of packages with updates.

See Also

Reference

IWebProjectManager Interface

System.Web.WebPages.Administration.PackageManager Namespace