Package.RelationshipExists(String) 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
지정된 ID를 가진 패키지 수준 관계가 패키지에 포함되어 있는지 여부를 나타냅니다.
public:
bool RelationshipExists(System::String ^ id);
public bool RelationshipExists(string id);
member this.RelationshipExists : string -> bool
Public Function RelationshipExists (id As String) As Boolean
매개 변수
반품
true 지정된 id 패키지와 패키지 수준 관계가 패키지에 있으면 이고, false그렇지 않으면 .
예외
id은 null입니다.
id 가 유효한 XML 식별자가 아닌 경우
패키지가 열려Dispose(Boolean)Close() 있지 않거나 호출되었습니다.
패키지는 쓰기 전용입니다.
설명
자세한 내용은 다음에서 다운로드할 수 있는 OPC(Open Packaging Conventions) 사양을 참조하세요 https://www.ecma-international.org/publications-and-standards/standards/ecma-376/.