NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

RectangleConverter.CreateInstance (ITypeDescriptorContext, PersistInfo)

Recreates an object given its PersistInfo. This information was generated by a prior call to GetPersistInfo.

[Visual Basic]
Overloads Overrides Public Function CreateInstance( _
   ByVal context As ITypeDescriptorContext, _
   ByVal persistInfo As PersistInfo _
) As Object
[C#]
public override object CreateInstance(
   ITypeDescriptorContext context,
   PersistInfo persistInfo
);
[C++]
public: override Object* CreateInstance(
   ITypeDescriptorContext* context,
   PersistInfo* persistInfo
);
[JScript]
public override function CreateInstance(
   context : ITypeDescriptorContext,
   persistInfo : PersistInfo
) : Object;

Parameters

context
A formatter context. This object can be used to extract additional information about the environment this converter is being invoked from. This may be null, so you should always check. Also, properties on the context object may also return null.
persistInfo
The persistence information to use when re-creating the object.

Return Value

An object representing the given PersistInfo.

See Also

RectangleConverter Class | RectangleConverter Members | System.Drawing Namespace | RectangleConverter.CreateInstance Overload List | PersistInfo | TBD