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!

PropertyValue.MakeIPersistable

Use this to store an object that can persist itself.

[Visual Basic]
Public Shared Function MakeIPersistable( _
   ByVal service As IServiceObjectProvider, _
   ByVal resourceName As String, _
   ByVal className As String, _
   ByVal ip As IPersistable, _
   ByVal elems() As PropertyValue _
) As PropertyValue
[C#]
public static PropertyValue MakeIPersistable(
   IServiceObjectProvider service,
   string resourceName,
   string className,
   IPersistable ip,
   PropertyValue[] elems
);
[C++]
public: static PropertyValue* MakeIPersistable(
   IServiceObjectProvider* service,
   String* resourceName,
   String* className,
   IPersistable* ip,
   PropertyValue* elems[]
);
[JScript]
public static function MakeIPersistable(
   service : IServiceObjectProvider,
   resourceName : String,
   className : String,
   ip : IPersistable,
   elems : PropertyValue[]
) : PropertyValue;

Parameters

service
[To be supplied.]
resourceName
the filename to which the object will be persisted
className
the type of the object
ip
the object itself
elems
UNDONE, stefanph: what's this for?

See Also

PropertyValue Class | PropertyValue Members | System.ComponentModel.Design Namespace