This documentation is archived and is not being maintained.

InstanceDescriptor Class

Provides information necessary to create an instance of an object. This class cannot be inherited.

For a list of all members of this type, see InstanceDescriptor Members.

System.Object
   System.ComponentModel.Design.Serialization.InstanceDescriptor

[Visual Basic]
NotInheritable Public Class InstanceDescriptor
[C#]
public sealed class InstanceDescriptor
[C++]
public __gc __sealed class InstanceDescriptor
[JScript]
public class InstanceDescriptor

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Remarks

InstanceDescriptor can store information that describes an instance of an object. This information can be used to create an instance of the object.

Some custom serializers use InstanceDescriptor to represent serializable objects. Several methods of a TypeDescriptor use InstanceDescriptor to represent or instantiate objects.

An InstanceDescriptor provides the following members:

  • A MemberInfo property that describes this object.
  • An Arguments property that consists of the constructor arguments that can be used to instantiate this object.
  • A Boolean IsComplete property that indicates whether the object is completely represented by the current information.
  • An Invoke method that can be used to create an instance of the represented object.

Requirements

Namespace: System.ComponentModel.Design.Serialization

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Assembly: System (in System.dll)

See Also

InstanceDescriptor Members | System.ComponentModel.Design.Serialization Namespace | MemberInfo

Show: