Windows apps
Collapse the table of content
Expand the table of content
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

TypeConverter.GetProperties Method (Object)

Returns a collection of properties for the type of array specified by the value parameter.

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

public PropertyDescriptorCollection GetProperties (
	Object value
public PropertyDescriptorCollection GetProperties (
	Object value
public function GetProperties (
	value : Object
) : PropertyDescriptorCollection
Not applicable.



An Object that specifies the type of array for which to get properties.

Return Value

A PropertyDescriptorCollection with the properties that are exposed for this data type, or a null reference (Nothing in Visual Basic) if there are no properties.

As implemented in this class, this method always returns a null reference (Nothing in Visual Basic).

By default, a type does not return properties. An easy implementation of this method can call GetProperties for the correct data type.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0

Community Additions

© 2017 Microsoft