DesignerSerializationManager.IDesignerSerializationManager.GetInstance 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.
Retrieves an instance of a created object of the specified name.
virtual System::Object ^ System.ComponentModel.Design.Serialization.IDesignerSerializationManager.GetInstance(System::String ^ name) = System::ComponentModel::Design::Serialization::IDesignerSerializationManager::GetInstance;
object IDesignerSerializationManager.GetInstance (string name);
object? IDesignerSerializationManager.GetInstance (string name);
abstract member System.ComponentModel.Design.Serialization.IDesignerSerializationManager.GetInstance : string -> obj
override this.System.ComponentModel.Design.Serialization.IDesignerSerializationManager.GetInstance : string -> obj
Function GetInstance (name As String) As Object Implements IDesignerSerializationManager.GetInstance
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.
Implements
Exceptions
name
is null
.
This property was accessed outside of a serialization session.
Applies to
See also
ทํางานร่วมกับเราใน GitHub
แหล่งที่มาสำหรับเนื้อหานี้สามารถพบได้บน GitHub ซึ่งคุณยังสามารถสร้างและตรวจสอบปัญหาและคำขอดึงข้อมูลได้ สำหรับข้อมูลเพิ่มเติม ให้ดูคู่มือผู้สนับสนุนของเรา