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!

UserControlDesigner.PersistProperties

Enumerates and persists all properties of a control including sub properties.

[Visual Basic]
Protected Function PersistProperties( _
   ByVal strPrefix As String, _
   ByVal parent As Object, _
   ByVal propDesc As PropertyDescriptor _
) As String
[C#]
protected string PersistProperties(
   string strPrefix,
   object parent,
   PropertyDescriptor propDesc
);
[C++]
protected: String* PersistProperties(
   String* strPrefix,
   Object* parent,
   PropertyDescriptor* propDesc
);
[JScript]
protected function PersistProperties(
   strPrefix : String,
   parent : Object,
   propDesc : PropertyDescriptor
) : String;

Parameters

strPrefix
[To be supplied.]
parent
[To be supplied.]
propDesc
[To be supplied.]

Remarks

Properties will be persisted in the format used in the following examples.

A property B of object A and control C with value "new value" would be persisted as A_B_C = "new value". A function would return the persisted attribute string "A_B_C".

See Also

UserControlDesigner Class | UserControlDesigner Members | System.Web.UI.Design Namespace