EN
Ce contenu n’est pas disponible dans votre langue. Voici la version anglaise.

ObjectDisposedException.ObjectName Property

Gets the name of the disposed object.

[Visual Basic]
Public ReadOnly Property ObjectName As String
[C#]
public string ObjectName {get;}
[C++]
public: __property String* get_ObjectName();
[JScript]
public function get ObjectName() : String;

Property Value

A string containing the name of the disposed object.

Remarks

If the current property is not a null reference (Nothing in Visual Basic) or String.Empty, the value of this property is included in the string returned by the Message property.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework, Common Language Infrastructure (CLI) Standard

See Also

ObjectDisposedException Class | ObjectDisposedException Members | System Namespace

Afficher:
© 2014 Microsoft