Editar

Compartir vía


WorkflowMarkupSerializationManager.IDesignerSerializationManager.SetName Method

Definition

Sets the name of the specified existing object.

 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

Parameters

instance
Object

The object to name.

name
String

The name to assign to the object.

Implements

Remarks

IDesignerSerializationManager.SetName(Object, String) is useful when you need to create and then name an instance of an object without using WorkflowMarkupSerializationManager.IDesignerSerializationManager.CreateInstance(Type, ICollection, String, Boolean).

Applies to