Rediger

Del via


PackageRelationshipSelector.Select(Package) Method

Definition

Returns a list of PackageRelationship objects that match the defined SourceUri, SelectorType, and SelectionCriteria.

public:
 System::Collections::Generic::List<System::IO::Packaging::PackageRelationship ^> ^ Select(System::IO::Packaging::Package ^ package);
public System.Collections.Generic.List<System.IO.Packaging.PackageRelationship> Select (System.IO.Packaging.Package package);
member this.Select : System.IO.Packaging.Package -> System.Collections.Generic.List<System.IO.Packaging.PackageRelationship>
Public Function Select (package As Package) As List(Of PackageRelationship)

Parameters

package
Package

The package from which to select the relationships based on the selection criteria.

Returns

A list of relationships that match the selection parameters specified to the PackageRelationshipSelector(Uri, PackageRelationshipSelectorType, String) constructor.

Exceptions

package is null.

Applies to