ESRI.ArcGIS.ADF.Web
CreateInstance(ITypeDescriptorContext,IDictionary) Method
See Also 
ESRI.ArcGIS.ADF.Web.Geometry Namespace > EnvelopeConverter Class > CreateInstance Method : CreateInstance(ITypeDescriptorContext,IDictionary) Method




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

Syntax

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

Parameters

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

Return Value

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

See Also

© 2010 All Rights Reserved.