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!

ComponentModelPersister.ShouldPersist

Helper function to determine if a property should be persisted.

[Visual Basic]
Overridable Protected Function ShouldPersist( _
   ByVal iprop As PropertyDescriptor, _
   ByVal comp As Object _
) As Boolean
[C#]
protected virtual bool ShouldPersist(
   PropertyDescriptor iprop,
   object comp
);
[C++]
protected: virtual bool ShouldPersist(
   PropertyDescriptor* iprop,
   Object* comp
);
[JScript]
protected function ShouldPersist(
   iprop : PropertyDescriptor,
   comp : Object
) : Boolean;

Parameters

iprop
property to check
comp
Component to check

See Also

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