PackageRelationshipSelector.Select(Package) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.