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.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för