Share via


PackageRelationshipSelector.Select(Package) Metoda

Definice

Vrátí seznam PackageRelationship objektů, které odpovídají definovaným SourceUriobjektům , SelectorTypea 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)

Parametry

package
Package

Balíček, ze kterého chcete vybrat relace na základě kritérií výběru.

Návraty

Seznam relací, které odpovídají parametrům výběru zadaným konstruktoru PackageRelationshipSelector(Uri, PackageRelationshipSelectorType, String) .

Výjimky

package je null.

Platí pro