PackageRelationshipSelector コンストラクター

定義

PackageRelationshipSelector クラスの新しいインスタンスを初期化します。

public:
 PackageRelationshipSelector(Uri ^ sourceUri, System::IO::Packaging::PackageRelationshipSelectorType selectorType, System::String ^ selectionCriteria);
public PackageRelationshipSelector(Uri sourceUri, System.IO.Packaging.PackageRelationshipSelectorType selectorType, string selectionCriteria);
new System.IO.Packaging.PackageRelationshipSelector : Uri * System.IO.Packaging.PackageRelationshipSelectorType * string -> System.IO.Packaging.PackageRelationshipSelector
Public Sub New (sourceUri As Uri, selectorType As PackageRelationshipSelectorType, selectionCriteria As String)

パラメーター

sourceUri
Uri

リレーションシップを所有する PackagePart または Package (SourceUri="/") の UNIFORM Resource Identifier (URI)。

selectorType
PackageRelationshipSelectorType

リレーションシップ Idまたはリレーションシップ TypeによるselectionCriteriaの型。

selectionCriteria
String

selectorTypeに基づいてリレーションシップを選択するために使用される修飾文字列。

例外

sourceUri または selectionCriterianull

selectorType パラメーターが無効です。

selectorType パラメーターはIdされていますが、selectionCriteriaは有効な XML スキーマ定義 (XSD) 識別子 (ID) ではありません。

指定したselectorTypeに対して、selectionCriteriaが無効です。

-または-

sourceUriPackage ルート ("/") ではなく、有効なPackagePart URI でもあります。

適用対象

こちらもご覧ください