PackageRelationshipSelector.Select(Package) 方法

定义

返回与已定义PackageRelationship对象匹配的对象列表SourceUriSelectorType以及 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)

参数

package
Package

基于选择条件选择要从中选择关系的包。

返回

与构造函数指定的 PackageRelationshipSelector(Uri, PackageRelationshipSelectorType, String) 选择参数匹配的关系列表。

例外

packagenull

适用于