Spread for ASP.NET 10 Product Documentation
GetTypeDescriptor(Type,Object) Method


The type of object for which to retrieve the type descriptor.
An instance of the type. Can be null if no instance was passed to the System.ComponentModel.TypeDescriptor.
Gets a DoubleCollection type descriptor for the given type and object.
Syntax
'Declaration
 
Public Overloads Overrides Function GetTypeDescriptor( _
   ByVal objectType As Type, _
   ByVal instance As Object _
) As ICustomTypeDescriptor
'Usage
 
Dim instance As DoubleCollectionTypeDescriptionProvider
Dim objectType As Type
Dim instance As Object
Dim value As ICustomTypeDescriptor
 
value = instance.GetTypeDescriptor(objectType, instance)
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 8, Windows 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional

See Also

Reference

DoubleCollectionTypeDescriptionProvider Class
DoubleCollectionTypeDescriptionProvider Members
Overload List

 

 


Copyright © GrapeCity, inc. All rights reserved.