ESRI.ArcGIS.ADF.Web.UI.WebControls
CreateInstance(ITypeDescriptorContext,IDictionary) Method
See Also 
ESRI.ArcGIS.ADF.Web.UI.WebControls.Design Namespace > LayerFormatCollectionConverter Class > CreateInstance Method : CreateInstance(ITypeDescriptorContext,IDictionary) Method




context
An ITypeDescriptorContext that provides a format context.
propertyValues
An IDictionary of new property values.
Re-creates an Object 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 LayerFormatCollectionConverter
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 ITypeDescriptorContext that provides a format context.
propertyValues
An IDictionary of new property values.

Return Value

An Object representing the given IDictionary, or a null reference (Nothing in Visual Basic) if the object cannot be created. This method always returns a null reference (Nothing in Visual Basic).

See Also

© 2010 All Rights Reserved.