IDesignerSerializationManager.GetInstance(String) 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.
Gets an instance of a created object of the specified name, or null
if that object does not exist.
public:
System::Object ^ GetInstance(System::String ^ name);
public object GetInstance (string name);
public object? GetInstance (string name);
abstract member GetInstance : string -> obj
Public Function GetInstance (name As String) As Object
Parameters
- name
- String
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 CreateInstance.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.