TypeDescriptionProvider.GetTypeDescriptor Method (Object)

 

Gets a custom type descriptor for the given object.

Namespace:   System.ComponentModel
Assembly:  System (in System.dll)

public ICustomTypeDescriptor GetTypeDescriptor(
	object instance
)

Parameters

instance
Type: System.Object

An instance of the type. Can be null if no instance was passed to the TypeDescriptor.

Return Value

Type: System.ComponentModel.ICustomTypeDescriptor

An ICustomTypeDescriptor that can provide metadata for the type.

Exception Condition
ArgumentNullException

instance is null.

.NET Framework
Available since 2.0
Return to top
Show: