Package.RelationshipExists(String) 메서드

정의

지정된 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

매개 변수

id
String

Id 확인할 관계의 관계입니다.

반품

true 지정된 id 패키지와 패키지 수준 관계가 패키지에 있으면 이고, false그렇지 않으면 .

예외

idnull입니다.

id 가 유효한 XML 식별자가 아닌 경우

패키지가 열려Dispose(Boolean)Close() 있지 않거나 호출되었습니다.

패키지는 쓰기 전용입니다.

설명

자세한 내용은 다음에서 다운로드할 수 있는 OPC(Open Packaging Conventions) 사양을 참조하세요 https://www.ecma-international.org/publications-and-standards/standards/ecma-376/.

적용 대상

추가 정보