編輯

共用方式為


WorkflowMarkupSerializationManager.IDesignerSerializationManager.GetInstance Method

Definition

Returns an instance of a created object of the specified name.

 virtual System::Object ^ System.ComponentModel.Design.Serialization.IDesignerSerializationManager.GetInstance(System::String ^ name) = System::ComponentModel::Design::Serialization::IDesignerSerializationManager::GetInstance;
object IDesignerSerializationManager.GetInstance (string name);
abstract member System.ComponentModel.Design.Serialization.IDesignerSerializationManager.GetInstance : string -> obj
override this.System.ComponentModel.Design.Serialization.IDesignerSerializationManager.GetInstance : string -> obj
Function GetInstance (name As String) As Object Implements IDesignerSerializationManager.GetInstance

Parameters

name
String

The name of the object to retrieve.

Returns

An instance of the object with the given name, or a null reference (Nothing in Visual Basic) if no object by that name can be found.

Implements

Remarks

name must be set through a prior call to WorkflowMarkupSerializationManager.IDesignerSerializationManager.CreateInstance(Type, ICollection, String, Boolean).

Applies to