Export (0) Print
Expand All

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.

ExceptionCondition
ArgumentNullException

instance is null.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft