共用方式為


PackageRelationshipSelector.Select(Package) 方法

定義

傳回符合定義之 PackageRelationshipSourceUriSelectorTypeSelectionCriteria 物件清單。

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

適用於