Bagikan melalui


LocalServiceSecuritySettings.Clone Metode

Definisi

Membuat instans baru kelas ini dari instans saat ini.

public:
 System::ServiceModel::Channels::LocalServiceSecuritySettings ^ Clone();
public System.ServiceModel.Channels.LocalServiceSecuritySettings Clone ();
member this.Clone : unit -> System.ServiceModel.Channels.LocalServiceSecuritySettings
Public Function Clone () As LocalServiceSecuritySettings

Mengembalikan

Instans baru .LocalServiceSecuritySettings

Contoh

Contoh ini menunjukkan cara membuat instans baru kelas ini dari instans saat ini.

LocalServiceSecuritySettings
    localServiceSecuritySettings =
settings.Clone();
Dim localServiceSecuritySettings As LocalServiceSecuritySettings = settings.Clone()

Berlaku untuk