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

Abstract Base class for the Package. This is a part of the Packaging Layer APIs
상속: IDisposable
파일 보기 프로젝트 열기: WordDocX/DocX 1 사용 예제들

Private Properties

프로퍼티 타입 설명
CheckIsReadOnly void
CreateRelationship PackageRelationship
IDisposable void
LoadRelationships void
NextId string
Open Package
OpenCore Package
WriteRelationships void

공개 메소드들

메소드 설명
Close ( ) : void
CreatePart ( Uri partUri, string contentType ) : PackagePart
CreatePart ( Uri partUri, string contentType, CompressionOption compressionOption ) : PackagePart
CreateRelationship ( Uri targetUri, TargetMode targetMode, string relationshipType ) : PackageRelationship
CreateRelationship ( Uri targetUri, TargetMode targetMode, string relationshipType, string id ) : PackageRelationship
DeletePart ( Uri partUri ) : void
DeleteRelationship ( string id ) : void
Flush ( ) : void
GetPart ( Uri partUri ) : PackagePart
GetParts ( ) : PackagePartCollection
GetRelationship ( string id ) : PackageRelationship
GetRelationships ( ) : PackageRelationshipCollection
GetRelationshipsByType ( string relationshipType ) : PackageRelationshipCollection
Open ( Stream stream ) : Package
Open ( Stream stream, FileMode packageMode ) : Package
Open ( Stream stream, FileMode packageMode, FileAccess packageAccess ) : Package
Open ( string path ) : Package
Open ( string path, FileMode packageMode ) : Package
Open ( string path, FileMode packageMode, FileAccess packageAccess ) : Package
Open ( string path, FileMode packageMode, FileAccess packageAccess, FileShare packageShare ) : Package
PartExists ( Uri partUri ) : bool
RelationshipExists ( string id ) : bool

보호된 메소드들

메소드 설명
CreatePartCore ( Uri partUri, string contentType, CompressionOption compressionOption ) : PackagePart
DeletePartCore ( Uri partUri ) : void
Dispose ( bool disposing ) : void
FlushCore ( ) : void
GetPartCore ( Uri partUri ) : PackagePart
GetPartsCore ( ) : System.IO.Packaging.PackagePart[]
Package ( FileAccess openFileAccess ) : System
Package ( FileAccess openFileAccess, bool streaming ) : System

비공개 메소드들

메소드 설명
CheckIsReadOnly ( ) : void
CreateRelationship ( Uri targetUri, TargetMode targetMode, string relationshipType, string id, bool loading ) : PackageRelationship
IDisposable ( ) : void
LoadRelationships ( ) : void
NextId ( ) : string
Open ( Stream stream, FileMode packageMode, FileAccess packageAccess, bool ownsStream ) : Package
OpenCore ( Stream stream, FileMode packageMode, FileAccess packageAccess, bool ownsStream ) : Package
WriteRelationships ( PackageRelationship>.Dictionary relationships, Stream stream ) : void

메소드 상세

Close() 공개 메소드

public Close ( ) : void
리턴 void

CreatePart() 공개 메소드

public CreatePart ( Uri partUri, string contentType ) : PackagePart
partUri System.Uri
contentType string
리턴 PackagePart

CreatePart() 공개 메소드

public CreatePart ( Uri partUri, string contentType, CompressionOption compressionOption ) : PackagePart
partUri System.Uri
contentType string
compressionOption CompressionOption
리턴 PackagePart

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

protected abstract CreatePartCore ( Uri partUri, string contentType, CompressionOption compressionOption ) : PackagePart
partUri System.Uri
contentType string
compressionOption CompressionOption
리턴 PackagePart

CreateRelationship() 공개 메소드

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

CreateRelationship() 공개 메소드

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

DeletePart() 공개 메소드

public DeletePart ( Uri partUri ) : void
partUri System.Uri
리턴 void

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

protected abstract DeletePartCore ( Uri partUri ) : void
partUri System.Uri
리턴 void

DeleteRelationship() 공개 메소드

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

Dispose() 보호된 메소드

protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

Flush() 공개 메소드

public Flush ( ) : void
리턴 void

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

protected abstract FlushCore ( ) : void
리턴 void

GetPart() 공개 메소드

public GetPart ( Uri partUri ) : PackagePart
partUri System.Uri
리턴 PackagePart

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

protected abstract GetPartCore ( Uri partUri ) : PackagePart
partUri System.Uri
리턴 PackagePart

GetParts() 공개 메소드

public GetParts ( ) : PackagePartCollection
리턴 PackagePartCollection

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

protected abstract GetPartsCore ( ) : System.IO.Packaging.PackagePart[]
리턴 System.IO.Packaging.PackagePart[]

GetRelationship() 공개 메소드

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

GetRelationships() 공개 메소드

public GetRelationships ( ) : PackageRelationshipCollection
리턴 PackageRelationshipCollection

GetRelationshipsByType() 공개 메소드

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

Open() 공개 정적인 메소드

public static Open ( Stream stream ) : Package
stream Stream
리턴 Package

Open() 공개 정적인 메소드

public static Open ( Stream stream, FileMode packageMode ) : Package
stream Stream
packageMode FileMode
리턴 Package

Open() 공개 정적인 메소드

public static Open ( Stream stream, FileMode packageMode, FileAccess packageAccess ) : Package
stream Stream
packageMode FileMode
packageAccess FileAccess
리턴 Package

Open() 공개 정적인 메소드

public static Open ( string path ) : Package
path string
리턴 Package

Open() 공개 정적인 메소드

public static Open ( string path, FileMode packageMode ) : Package
path string
packageMode FileMode
리턴 Package

Open() 공개 정적인 메소드

public static Open ( string path, FileMode packageMode, FileAccess packageAccess ) : Package
path string
packageMode FileMode
packageAccess FileAccess
리턴 Package

Open() 공개 정적인 메소드

public static Open ( string path, FileMode packageMode, FileAccess packageAccess, FileShare packageShare ) : Package
path string
packageMode FileMode
packageAccess FileAccess
packageShare FileShare
리턴 Package

Package() 보호된 메소드

protected Package ( FileAccess openFileAccess ) : System
openFileAccess FileAccess
리턴 System

Package() 보호된 메소드

protected Package ( FileAccess openFileAccess, bool streaming ) : System
openFileAccess FileAccess
streaming bool
리턴 System

PartExists() 공개 메소드

public PartExists ( Uri partUri ) : bool
partUri System.Uri
리턴 bool

RelationshipExists() 공개 메소드

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