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
Samarbeid med oss på GitHub
Du finner kilden for dette innholdet på GitHub. Der du også kan opprette og se gjennom problemer og pull-forespørsler. Hvis du vil ha mer informasjon, kan du se vår bidragsyterveiledning.