IDesignerSerializationManager.GetName(Object) 方法

定义

获取指定对象的名称,如果该对象不具有名称则为 nullGets the name of the specified object, or null if the object has no name.

public:
 System::String ^ GetName(System::Object ^ value);
public string GetName (object value);
abstract member GetName : obj -> string
Public Function GetName (value As Object) As String

参数

value
Object

要检索其名称的对象。The object to retrieve the name for.

返回

String

对象的名称,如果对象是未命名的,则为 nullThe name of the object, or null if the object is unnamed.

适用于