Bewerken

Delen via


DataFormats.Locale Field

Definition

Specifies the Windows culture format, which Windows Forms does not directly use. This static field is read-only.

public: static initonly System::String ^ Locale;
public static readonly string Locale;
 staticval mutable Locale : string
Public Shared ReadOnly Locale 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.

Applies to

See also