Szerkesztés

Megosztás a következőn keresztül:


DesignerSerializationManager.IDesignerSerializationManager.GetName Method

Definition

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