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 URI(SourceUriUniform Resource Identifier)입니다.

selectorType
PackageRelationshipSelectorType

관계 또는 관계 selectionCriteriaId별 형식입니다Type.

selectionCriteria
String

에 따라 selectorType관계를 선택하는 데 사용되는 정규화 문자열입니다.

예외

sourceUri 또는 selectionCriteria .입니다 null.

selectorType 매개 변수가 잘못되었습니다.

selectorType 매개 변수는 IdselectionCriteria 유효한 XSD(XML 스키마 정의) 식별자(ID)가 아닙니다.

selectionCriteria 지정된 selectorType에 대해 유효하지 않습니다.

-또는-

루트 sourceUri ("/")가 아니며 Package 유효한 PackagePart URI도 아닙니다.

적용 대상

추가 정보