Method | Description | |
---|---|---|
DAdvise ( System.Runtime.InteropServices.ComTypes.FORMATETC &pFormatetc, ADVF advf, IAdviseSink adviseSink, int &connection ) : int | ||
DUnadvise ( int connection ) : void | ||
DataObject ( ) : System |
Creates an empty instance of DataObject.
|
|
Dispose ( ) : void |
Releases resources.
|
|
EnumDAdvise ( IEnumSTATDATA &enumAdvise ) : int | ||
EnumFormatEtc ( DATADIR direction ) : IEnumFORMATETC |
Gets an enumerator for the formats contained in this DataObject.
|
|
GetCanonicalFormatEtc ( System.Runtime.InteropServices.ComTypes.FORMATETC &formatIn, System.Runtime.InteropServices.ComTypes.FORMATETC &formatOut ) : int | ||
GetData ( System.Runtime.InteropServices.ComTypes.FORMATETC &format, System.Runtime.InteropServices.ComTypes.STGMEDIUM &medium ) : void |
Gets the specified data.
|
|
GetDataHere ( System.Runtime.InteropServices.ComTypes.FORMATETC &format, System.Runtime.InteropServices.ComTypes.STGMEDIUM &medium ) : void | ||
QueryGetData ( System.Runtime.InteropServices.ComTypes.FORMATETC &format ) : int |
Determines if data of the requested format is present.
|
|
SetData ( System.Runtime.InteropServices.ComTypes.FORMATETC &formatIn, System.Runtime.InteropServices.ComTypes.STGMEDIUM &medium, bool release ) : void |
Sets data in the specified format into storage.
|
Method | Description | |
---|---|---|
ClearStorage ( ) : void |
Clears the internal storage array. ClearStorage is called by the IDisposable.Dispose method implementation to make sure all unmanaged references are released properly. |
|
CopyMedium ( System.Runtime.InteropServices.ComTypes.STGMEDIUM &medium ) : System.Runtime.InteropServices.ComTypes.STGMEDIUM |
Creates a copy of the STGMEDIUM structure.
|
|
CopyStgMedium ( System.Runtime.InteropServices.ComTypes.STGMEDIUM &pcstgmedSrc, System.Runtime.InteropServices.ComTypes.STGMEDIUM &pstgmedDest ) : int | ||
Dispose ( bool disposing ) : void |
Releases resources.
|
|
ReleaseStgMedium ( System.Runtime.InteropServices.ComTypes.STGMEDIUM &pmedium ) : void |
public DAdvise ( System.Runtime.InteropServices.ComTypes.FORMATETC &pFormatetc, ADVF advf, IAdviseSink adviseSink, int &connection ) : int | ||
pFormatetc | System.Runtime.InteropServices.ComTypes.FORMATETC | |
advf | ADVF | |
adviseSink | IAdviseSink | |
connection | int | |
return | int |
public EnumDAdvise ( IEnumSTATDATA &enumAdvise ) : int | ||
enumAdvise | IEnumSTATDATA | |
return | int |
public EnumFormatEtc ( DATADIR direction ) : IEnumFORMATETC | ||
direction | DATADIR | The direction of the data. |
return | IEnumFORMATETC |
public GetCanonicalFormatEtc ( System.Runtime.InteropServices.ComTypes.FORMATETC &formatIn, System.Runtime.InteropServices.ComTypes.FORMATETC &formatOut ) : int | ||
formatIn | System.Runtime.InteropServices.ComTypes.FORMATETC | |
formatOut | System.Runtime.InteropServices.ComTypes.FORMATETC | |
return | int |
public GetData ( System.Runtime.InteropServices.ComTypes.FORMATETC &format, System.Runtime.InteropServices.ComTypes.STGMEDIUM &medium ) : void | ||
format | System.Runtime.InteropServices.ComTypes.FORMATETC | The requested data format. |
medium | System.Runtime.InteropServices.ComTypes.STGMEDIUM | When the function returns, contains the requested data. |
return | void |
public GetDataHere ( System.Runtime.InteropServices.ComTypes.FORMATETC &format, System.Runtime.InteropServices.ComTypes.STGMEDIUM &medium ) : void | ||
format | System.Runtime.InteropServices.ComTypes.FORMATETC | |
medium | System.Runtime.InteropServices.ComTypes.STGMEDIUM | |
return | void |
public QueryGetData ( System.Runtime.InteropServices.ComTypes.FORMATETC &format ) : int | ||
format | System.Runtime.InteropServices.ComTypes.FORMATETC | The request data format. |
return | int |
public SetData ( System.Runtime.InteropServices.ComTypes.FORMATETC &formatIn, System.Runtime.InteropServices.ComTypes.STGMEDIUM &medium, bool release ) : void | ||
formatIn | System.Runtime.InteropServices.ComTypes.FORMATETC | The format of the data. |
medium | System.Runtime.InteropServices.ComTypes.STGMEDIUM | The data. |
release | bool | If true, ownership of the medium's memory will be transferred /// to this object. If false, a copy of the medium will be created and maintained, and /// the caller is responsible for the memory of the medium it provided. |
return | void |