Spread Windows Forms 6.0 Product Documentation
GetTypeDescriptor(Type,Object) Method
See Also  Support Options
FarPoint.Win.Chart Assembly > FarPoint.Win.Chart Namespace > DoubleCollectionTypeDescriptionProvider Class > GetTypeDescriptor Method : GetTypeDescriptor(Type,Object) Method


objectType
The type of object for which to retrieve the type descriptor.
instance
An instance of the type. Can be null if no instance was passed to the System.ComponentModel.TypeDescriptor.

Glossary Item Box

Gets a DoubleCollection type descriptor for the given type and object.

Syntax

Visual Basic (Declaration) 
Public Overloads Overrides Function GetTypeDescriptor( _
   ByVal objectType As Type, _
   ByVal instance As Object _
) As ICustomTypeDescriptor
Visual Basic (Usage)Copy Code
Dim instance As DoubleCollectionTypeDescriptionProvider
Dim objectType As Type
Dim instance As Object
Dim value As ICustomTypeDescriptor
 
value = instance.GetTypeDescriptor(objectType, instance)
C# 
public override ICustomTypeDescriptor GetTypeDescriptor( 
   Type objectType,
   object instance
)

Parameters

objectType
The type of object for which to retrieve the type descriptor.
instance
An instance of the type. Can be null if no instance was passed to the System.ComponentModel.TypeDescriptor.

Return Value

An System.ComponentModel.ICustomTypeDescriptor that can provide metadata for the type.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© 2002-2012 ComponentOne, a division of GrapeCity. All Rights Reserved.