DesignerSerializationManager.IDesignerSerializationManager.GetName 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 a name for the specified object.
virtual System::String ^ System.ComponentModel.Design.Serialization.IDesignerSerializationManager.GetName(System::Object ^ value) = System::ComponentModel::Design::Serialization::IDesignerSerializationManager::GetName;
string IDesignerSerializationManager.GetName (object value);
string? IDesignerSerializationManager.GetName (object value);
abstract member System.ComponentModel.Design.Serialization.IDesignerSerializationManager.GetName : obj -> string
override this.System.ComponentModel.Design.Serialization.IDesignerSerializationManager.GetName : obj -> string
Function GetName (value As Object) As String Implements IDesignerSerializationManager.GetName
Parameters
- value
- Object
The object for which to retrieve the name.
Returns
The name of the object, or null
if the object is unnamed.
Implements
Exceptions
value
is null
.
This property was accessed outside of a serialization session.
Remarks
If the IDesignerSerializationManager.GetName method cannot find a corresponding name for the value
parameter, it raises the ResolveName event before it returns null
.
Applies to
See also
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.