Edit

Bagikan melalui


DataFormats.Serializable Field

Definition

Specifies a format that encapsulates any type of Windows Forms object. This static field is read-only.

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

Field Value

Remarks

This field is used by the IDataObject interface and the DataObject class to specify the data type.

When adding to an IDataObject or to an implementation of DataObject, use this field as the format for the IDataObject.SetData and DataObject.SetData methods.

To see if an object of this type exists, use this field as the format for the IDataObject.GetDataPresent and DataObject.GetDataPresent methods.

To get an object of this type, use this as the format for the IDataObject.GetData and DataObject.GetData methods.

Note

The serializable format is specific to Windows Forms only and will not be recognized by applications created outside of Windows Forms.

Applies to

See also