PackageRelationshipSelector コンストラクター
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
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
- selectionCriteria
- String
selectorTypeに基づいてリレーションシップを選択するために使用される修飾文字列。
例外
sourceUri または selectionCriteria が null。
selectorType パラメーターが無効です。
selectorType パラメーターはIdされていますが、selectionCriteriaは有効な XML スキーマ定義 (XSD) 識別子 (ID) ではありません。
指定したselectorTypeに対して、selectionCriteriaが無効です。
-または-
sourceUriはPackage ルート ("/") ではなく、有効なPackagePart URI でもあります。