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!

EdgeConverter.GetPersistInfo

Retrieves the PersistInfo object for the given value. This object describes the given value as persisted information, which can be saved to disk or moved. This information can later be reconstructed by passing the PersistInfo to GetValue.

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

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.
value
The object to persist.

Return Value

The PersistInfo representing the persisted state of the given object.

See Also

EdgeConverter Class | EdgeConverter Members | System.WinForms Namespace | PersistInfo | TBD