PackageRelationshipSelector.Select(Package) 方法

定义

返回与定义的 PackageRelationshipSourceUriSelectorType 相匹配的 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

适用于