C# 클래스 iwantedue.OutlookStorage

상속: IDisposable
파일 보기 프로젝트 열기: Developex/Outlook-Sync-Webservice 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
streamStatistics ComTypes.STATSTG>.Dictionary
subStorageStatistics ComTypes.STATSTG>.Dictionary

Private Properties

프로퍼티 타입 설명
GetMapiPropertyFromPropertyStream object
GetMapiPropertyFromStreamOrStorage object
OutlookStorage System
OutlookStorage System
OutlookStorage System

공개 메소드들

메소드 설명
Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

GetMapiProperty ( string propIdentifier ) : object

Gets the raw value of the MAPI property.

GetMapiPropertyBytes ( string propIdentifier ) : byte[]

Gets the value of the MAPI property as a byte array.

GetMapiPropertyInt16 ( string propIdentifier ) : Int16

Gets the value of the MAPI property as a short.

GetMapiPropertyInt32 ( string propIdentifier ) : int

Gets the value of the MAPI property as a integer.

GetMapiPropertyString ( string propIdentifier ) : string

Gets the value of the MAPI property as a string.

GetStreamAsString ( string streamName, Encoding streamEncoding ) : string

Gets the data in the specified stream as a string using the specifed encoding to decode the stream data.

GetStreamBytes ( string streamName ) : byte[]

Gets the data in the specified stream as a byte array.

보호된 메소드들

메소드 설명
Disposing ( ) : void

Gives sub classes the chance to free resources during object disposal.

LoadStorage ( NativeMethods storage ) : void

Processes sub streams and storages on the specified storage.

비공개 메소드들

메소드 설명
GetMapiPropertyFromPropertyStream ( string propIdentifier ) : object

Gets the MAPI property value from the property stream in this storage.

GetMapiPropertyFromStreamOrStorage ( string propIdentifier ) : object

Gets the MAPI property value from a stream or storage in this storage.

OutlookStorage ( NativeMethods storage ) : System

Initializes a new instance of the OutlookStorage class on the specified NativeMethods.IStorage.

OutlookStorage ( Stream storageStream ) : System

Initializes a new instance of the OutlookStorage class from a Stream containing an IStorage.

OutlookStorage ( string storageFilePath ) : System

Initializes a new instance of the OutlookStorage class from a file.

메소드 상세

Dispose() 공개 메소드

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
리턴 void

Disposing() 보호된 메소드

Gives sub classes the chance to free resources during object disposal.
protected Disposing ( ) : void
리턴 void

GetMapiProperty() 공개 메소드

Gets the raw value of the MAPI property.
public GetMapiProperty ( string propIdentifier ) : object
propIdentifier string The 4 char hexadecimal prop identifier.
리턴 object

GetMapiPropertyBytes() 공개 메소드

Gets the value of the MAPI property as a byte array.
public GetMapiPropertyBytes ( string propIdentifier ) : byte[]
propIdentifier string The 4 char hexadecimal prop identifier.
리턴 byte[]

GetMapiPropertyInt16() 공개 메소드

Gets the value of the MAPI property as a short.
public GetMapiPropertyInt16 ( string propIdentifier ) : Int16
propIdentifier string The 4 char hexadecimal prop identifier.
리턴 System.Int16

GetMapiPropertyInt32() 공개 메소드

Gets the value of the MAPI property as a integer.
public GetMapiPropertyInt32 ( string propIdentifier ) : int
propIdentifier string The 4 char hexadecimal prop identifier.
리턴 int

GetMapiPropertyString() 공개 메소드

Gets the value of the MAPI property as a string.
public GetMapiPropertyString ( string propIdentifier ) : string
propIdentifier string The 4 char hexadecimal prop identifier.
리턴 string

GetStreamAsString() 공개 메소드

Gets the data in the specified stream as a string using the specifed encoding to decode the stream data.
public GetStreamAsString ( string streamName, Encoding streamEncoding ) : string
streamName string Name of the stream to get string data for.
streamEncoding System.Text.Encoding The encoding to decode the stream data with.
리턴 string

GetStreamBytes() 공개 메소드

Gets the data in the specified stream as a byte array.
public GetStreamBytes ( string streamName ) : byte[]
streamName string Name of the stream to get data for.
리턴 byte[]

LoadStorage() 보호된 메소드

Processes sub streams and storages on the specified storage.
protected LoadStorage ( NativeMethods storage ) : void
storage NativeMethods The storage to get sub streams and storages for.
리턴 void

프로퍼티 상세

streamStatistics 공개적으로 프로퍼티

The statistics for all streams in the IStorage associated with this instance.
public Dictionary streamStatistics
리턴 ComTypes.STATSTG>.Dictionary

subStorageStatistics 공개적으로 프로퍼티

The statistics for all storgages in the IStorage associated with this instance.
public Dictionary subStorageStatistics
리턴 ComTypes.STATSTG>.Dictionary