WorkflowMarkupSerializationManager.IDesignerSerializationManager.SetName(Object, String) Método

Definición

Establece el nombre del objeto existente especificado.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);
Sub SetName (instance As Object, name As String) Implements IDesignerSerializationManager.SetName

Parámetros

instance
Object

El objeto que se va a nombrar.The object to name.

name
String

El nombre que se va a asignar al objeto.The name to assign to the object.

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).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).

Se aplica a