PackagePart.GetRelationships PackagePart.GetRelationships PackagePart.GetRelationships PackagePart.GetRelationships Method

정의

이 파트에서 소유한 모든 관계의 컬렉션을 반환 합니다.Returns a collection of all the relationships that are owned by this part.

public:
 System::IO::Packaging::PackageRelationshipCollection ^ GetRelationships();
public System.IO.Packaging.PackageRelationshipCollection GetRelationships ();
member this.GetRelationships : unit -> System.IO.Packaging.PackageRelationshipCollection
Public Function GetRelationships () As PackageRelationshipCollection

반환

파트에서 소유한 모든 관계의 컬렉션입니다.A collection of all the relationships that are owned by the part.

예외

부분 삭제 되었습니다.The part has been deleted.

또는-or- 합니다 Package 열려 있지 않습니다 (Dispose(Boolean) 또는 Close() 호출한).The Package is not open (Dispose(Boolean) or Close() has been called).

패키지가 쓰기 전용인 (관계 정보를 읽을 수 없습니다.).The package is write-only (relationship information cannot be read).

설명

반환된 된 컬렉션은 null있지만 파트 관계를 정의 하지 않으면 컬렉션 요소가 포함 될 수 있습니다.The returned collection is never null; however, the collection might contain zero elements if the part does not define any relationships.

적용 대상

추가 정보