GetProperties Method (Object)
.NET Framework Class Library
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)
Visual Basic (Declaration)
Public Function GetProperties ( _
    value As Object _
) As PropertyDescriptorCollection
Visual Basic (Usage)
Dim instance As TypeConverter
Dim value As Object
Dim returnValue As PropertyDescriptorCollection

returnValue = instance.GetProperties(value)
C#
public PropertyDescriptorCollection GetProperties(
    Object value
)
Visual C++
public:
PropertyDescriptorCollection^ GetProperties(
    Object^ value
)
JScript
public function GetProperties(
    value : Object
) : PropertyDescriptorCollection

Parameters

value
Type: System..::.Object
An Object that specifies the type of array for which to get properties.

Return Value

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

As implemented in this class, this method always returns nullNothingnullptra 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 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0, 2.0, 1.1, 1.0
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
Page view tracker