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
Співпраця з нами на GitHub
Джерело цього вмісту можна знайти на GitHub, де також можна створювати й переглядати запитання та запити на внесення змін. Докладні відомості наведено в нашому посібнику для співавторів.