DataFormats.CommaSeparatedValue 欄位


指定逗號分隔值 (CSV) 資料格式。Specifies a comma-separated value (CSV) data format.

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



此格式是試算表經常使用的基本交換格式。This format is a basic interchange format commonly used by spreadsheets.

DataObject 類別和其他實 IDataObject 介面的類別會使用這個欄位來描述可用的資料格式。This field is used by the DataObject class and other classes that implement the IDataObject interface to describe an available data format.

使用此欄位搭配 SetData 方法,將具有對應格式的資料新增至資料物件。使用此欄位搭配 GetData 方法,以取得對應格式的資料。Use this field with the SetData method to add data with a corresponding format to a data object; use this field with the GetData method to retrieve data in the corresponding format. 若要檢查資料物件是否包含此格式的資料,請使用 GetDataPresent 方法來查詢格式。To check whether a data object contains data in this format, use the GetDataPresent method to query for the format.