DataFormats.StringFormat 欄位

定義

指定 Common Language Runtime (CLR) 字串類別資料格式。

public: static initonly System::String ^ StringFormat;
public static readonly string StringFormat;
 staticval mutable StringFormat : string
Public Shared ReadOnly StringFormat As String 

欄位值

備註

類別和其他實 IDataObject 作 介面的類別會使用此 DataObject 欄位來描述可用的資料格式。

使用這個欄位搭配 SetData 方法,將具有對應格式的資料新增至資料物件;請使用這個欄位搭配 GetData 方法,以對應的格式擷取資料。 若要檢查資料物件是否包含此格式的資料,請使用 GetDataPresent 方法來查詢格式。

適用於