Compartir a través de


WorkflowMarkupSerializationManager.IDesignerSerializationManager.SetName Método

Definición

Establece el nombre del objeto existente especificado.

 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

Parámetros

instance
Object

El objeto que se va a nombrar.

name
String

El nombre que se va a asignar al objeto.

Implementaciones

Comentarios

IDesignerSerializationManager.SetName(Object, String) es útil cuando necesita crear y luego nombrar una instancia de un objeto sin usar WorkflowMarkupSerializationManager.IDesignerSerializationManager.CreateInstance(Type, ICollection, String, Boolean).

Se aplica a