Dundas Chart for Windows Forms
CreateInstance(ITypeDescriptorContext,IDictionary) Method
See Also  Send comments on this topic.
DundasWinChart Assembly > Dundas.Charting.WinControl.Design Namespace > DoubleDateNanValueConverter Class > CreateInstance Method : CreateInstance(ITypeDescriptorContext,IDictionary) Method


context
An ITypeDescriptorContext that provides a format context.
propertyValues
An IDictionary of new property values.
Creates an instance of the type that this TypeConverter is associated with, using the specified context, given a set of property values for the object.

Syntax

Visual Basic (Declaration)  
Public Overloads Overridable Function CreateInstance( _
   ByVal context As ITypeDescriptorContext, _
   ByVal propertyValues As IDictionary _
) As Object
Visual Basic (Usage) Copy Code
Dim instance As DoubleDateNanValueConverter
Dim context As ITypeDescriptorContext
Dim propertyValues As IDictionary
Dim value As Object
 
value = instance.CreateInstance(context, propertyValues)
C#  
public virtual object CreateInstance( 
   ITypeDescriptorContext context,
   IDictionary propertyValues
)

Parameters

context
An ITypeDescriptorContext that provides a format context.
propertyValues
An IDictionary of new property values.

Return Value

An Object representing the given IDictionary, or null if the object cannot be created. This method always returns null.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2009 All Rights Reserved.