DdeSettings

Ecng.Interop.Dde

Represents the settings for DDE (Dynamic Data Exchange) communication.

Herda de: Cloneable<DdeSettings>

Implementa: IPersistable

Construtores

DdeSettings
public DdeSettings()
ddeSettings = DdeSettings()

Initializes a new instance of the DdeSettings class with default values.

Propriedades

ColumnOffset
public int ColumnOffset { get; set; }
value = ddeSettings.ColumnOffset
ddeSettings.ColumnOffset = value

Gets or sets the column offset from the left top corner.

RowOffset
public int RowOffset { get; set; }
value = ddeSettings.RowOffset
ddeSettings.RowOffset = value

Gets or sets the row offset from the left top corner.

Server
public string Server { get; set; }
value = ddeSettings.Server
ddeSettings.Server = value

Gets or sets the DDE server name.

ShowHeaders
public bool ShowHeaders { get; set; }
value = ddeSettings.ShowHeaders
ddeSettings.ShowHeaders = value

Gets or sets a value indicating whether header names should be displayed.

Topic
public string Topic { get; set; }
value = ddeSettings.Topic
ddeSettings.Topic = value

Gets or sets the DDE topic name (for example, "[Book1.xlsx]Sheet1").

Métodos

Apply
public void Apply(DdeSettings clone)
ddeSettings.Apply(clone)

Applies the settings from the specified DdeSettings instance.

clone
The instance containing the new settings.
Clone
public override DdeSettings Clone()
result = ddeSettings.Clone()

Creates a deep copy of the current DdeSettings instance.

Retorna: A new instance that is a deep copy of this instance.

Load
public void Load(SettingsStorage storage)
ddeSettings.Load(storage)

Loads the settings from the provided SettingsStorage.

storage
The storage from which to load the settings.
Save
public void Save(SettingsStorage storage)
ddeSettings.Save(storage)

Saves the current settings to the provided SettingsStorage.

storage
The storage to which the settings will be saved.