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
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.