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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for