System.ComponentModel.Design.Serialization.IDesignerSerializationManager.GetInstance Method

Gets an instance of a created object of the specified name, or null if that object does not exist.

Syntax

public object GetInstance (string name)

Parameters

name
The name of the object to retrieve.

Returns

An instance of the object with the given name, or null if no object by that name can be found.

Remarks

The name of the object to retrieve must have been set through a prior call to IDesignerSerializationManager.CreateInstance(Type, ICollection, string, bool).

Requirements

Namespace: System.ComponentModel.Design.Serialization
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0