C# 클래스 System.IO.Packaging.PackagePart

This class represents the a PackagePart within a container. This is a part of the Packaging Layer APIs
파일 보기 프로젝트 열기: WordDocX/DocX 1 사용 예제들

Private Properties

프로퍼티 타입 설명
CheckIsRelationship void
CreateRelationship PackageRelationship
LoadRelationships void
NextId string
WriteRelationships void

공개 메소드들

메소드 설명
CreateRelationship ( Uri targetUri, TargetMode targetMode, string relationshipType ) : PackageRelationship
CreateRelationship ( Uri targetUri, TargetMode targetMode, string relationshipType, string id ) : PackageRelationship
DeleteRelationship ( string id ) : void
GetRelationship ( string id ) : PackageRelationship
GetRelationships ( ) : PackageRelationshipCollection
GetRelationshipsByType ( string relationshipType ) : PackageRelationshipCollection
GetStream ( ) : Stream
GetStream ( FileMode mode ) : Stream
GetStream ( FileMode mode, FileAccess access ) : Stream
RelationshipExists ( string id ) : bool

보호된 메소드들

메소드 설명
GetContentTypeCore ( ) : string
GetStreamCore ( FileMode mode, FileAccess access ) : Stream
PackagePart ( Package package, Uri partUri ) : System
PackagePart ( Package package, Uri partUri, string contentType ) : System
PackagePart ( Package package, Uri partUri, string contentType, CompressionOption compressionOption ) : System

비공개 메소드들

메소드 설명
CheckIsRelationship ( ) : void
CreateRelationship ( Uri targetUri, TargetMode targetMode, string relationshipType, string id, bool loading ) : PackageRelationship
LoadRelationships ( PackageRelationship>.Dictionary relationships, Stream stream ) : void
NextId ( ) : string
WriteRelationships ( ) : void

메소드 상세

CreateRelationship() 공개 메소드

public CreateRelationship ( Uri targetUri, TargetMode targetMode, string relationshipType ) : PackageRelationship
targetUri Uri
targetMode TargetMode
relationshipType string
리턴 PackageRelationship

CreateRelationship() 공개 메소드

public CreateRelationship ( Uri targetUri, TargetMode targetMode, string relationshipType, string id ) : PackageRelationship
targetUri Uri
targetMode TargetMode
relationshipType string
id string
리턴 PackageRelationship

DeleteRelationship() 공개 메소드

public DeleteRelationship ( string id ) : void
id string
리턴 void

GetContentTypeCore() 보호된 메소드

protected GetContentTypeCore ( ) : string
리턴 string

GetRelationship() 공개 메소드

public GetRelationship ( string id ) : PackageRelationship
id string
리턴 PackageRelationship

GetRelationships() 공개 메소드

public GetRelationships ( ) : PackageRelationshipCollection
리턴 PackageRelationshipCollection

GetRelationshipsByType() 공개 메소드

public GetRelationshipsByType ( string relationshipType ) : PackageRelationshipCollection
relationshipType string
리턴 PackageRelationshipCollection

GetStream() 공개 메소드

public GetStream ( ) : Stream
리턴 Stream

GetStream() 공개 메소드

public GetStream ( FileMode mode ) : Stream
mode FileMode
리턴 Stream

GetStream() 공개 메소드

public GetStream ( FileMode mode, FileAccess access ) : Stream
mode FileMode
access FileAccess
리턴 Stream

GetStreamCore() 보호된 추상적인 메소드

protected abstract GetStreamCore ( FileMode mode, FileAccess access ) : Stream
mode FileMode
access FileAccess
리턴 Stream

PackagePart() 보호된 메소드

protected PackagePart ( Package package, Uri partUri ) : System
package Package
partUri Uri
리턴 System

PackagePart() 보호된 메소드

protected PackagePart ( Package package, Uri partUri, string contentType ) : System
package Package
partUri Uri
contentType string
리턴 System

PackagePart() 보호된 메소드

protected PackagePart ( Package package, Uri partUri, string contentType, CompressionOption compressionOption ) : System
package Package
partUri Uri
contentType string
compressionOption CompressionOption
리턴 System

RelationshipExists() 공개 메소드

public RelationshipExists ( string id ) : bool
id string
리턴 bool