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!

ComponentDesigner.SetPropertyWithUndo (IComponent, PropertyDescriptor, Object)

Sets the given property to the given value by using the undo service, so the property set can be undone by the user.

[Visual Basic]
Overloads Overridable Protected Sub SetPropertyWithUndo( _
   ByVal comp As IComponent, _
   ByVal prop As PropertyDescriptor, _
   ByVal newValue As Object _
)
[C#]
protected virtual void SetPropertyWithUndo(
   IComponent comp,
   PropertyDescriptor prop,
   object newValue
);
[C++]
protected: virtual void SetPropertyWithUndo(
   IComponent* comp,
   PropertyDescriptor* prop,
   Object* newValue
);
[JScript]
protected function SetPropertyWithUndo(
   comp : IComponent,
   prop : PropertyDescriptor,
   newValue : Object
);

Parameters

comp
The component to set the property on.
prop
The property to set.
newValue
The value to set the property to.

See Also

ComponentDesigner Class | ComponentDesigner Members | System.ComponentModel.Design Namespace | ComponentDesigner.SetPropertyWithUndo Overload List