Aracılığıyla paylaş


WorkflowMarkupSerializationManager.IDesignerSerializationManager.SetName Yöntem

Tanım

Belirtilen varolan nesnenin adını ayarlar.

 virtual void System.ComponentModel.Design.Serialization.IDesignerSerializationManager.SetName(System::Object ^ instance, System::String ^ name) = System::ComponentModel::Design::Serialization::IDesignerSerializationManager::SetName;
void IDesignerSerializationManager.SetName (object instance, string name);
abstract member System.ComponentModel.Design.Serialization.IDesignerSerializationManager.SetName : obj * string -> unit
override this.System.ComponentModel.Design.Serialization.IDesignerSerializationManager.SetName : obj * string -> unit
Sub SetName (instance As Object, name As String) Implements IDesignerSerializationManager.SetName

Parametreler

instance
Object

Ada sahip olan nesne.

name
String

Nesneye atanacak ad.

Uygulamalar

Açıklamalar

IDesignerSerializationManager.SetName(Object, String) kullanmadan bir nesnenin örneğini oluşturmanız ve daha sonra yazmanız gerektiğinde faydalıdır WorkflowMarkupSerializationManager.IDesignerSerializationManager.CreateInstance(Type, ICollection, String, Boolean) .

Şunlara uygulanır