WorkflowMarkupSerializationManager.IDesignerSerializationManager.SetName Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Sodelujte z nami v storitvi GitHub
Vir za to vsebino najdete v storitvi GitHub, kjer lahko tudi ustvarite in pregledate težave in zahtevke za uveljavitev sprememb. Če želite več informacij, glejte naš vodnik za sodelavce.