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입니다.

반환

지정된 id의 패키지 수준 관계가 패키지에 있으면 true, 그렇지 않으면 false입니다.

예외

id이(가) null인 경우

id가 올바른 XML 식별자가 아닌 경우

패키지가 열려 있지 않은 경우(Dispose(Boolean) 또는 Close()가 호출된 경우)

패키지가 쓰기 전용인 경우

설명

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

적용 대상

추가 정보