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!

ComponentChangedEventArgs Constructor

Initializes a new instance of the ComponentChangedEventArgs class.

[Visual Basic]
Public Sub New( _
   ByVal component As Object, _
   ByVal member As MemberDescriptor, _
   ByVal oldValue As Object, _
   ByVal newValue As Object _
)
[C#]
public ComponentChangedEventArgs(
   object component,
   MemberDescriptor member,
   object oldValue,
   object newValue
);
[C++]
public: ComponentChangedEventArgs(
   Object* component,
   MemberDescriptor* member,
   Object* oldValue,
   Object* newValue
);
[JScript]
public function ComponentChangedEventArgs(
   component : Object,
   member : MemberDescriptor,
   oldValue : Object,
   newValue : Object
);

Parameters

component
The component that is about to change.
member
A MemberDescriptor that represents the component that is about to change.
oldValue
The old value of the changed member.
newValue
The new value of the changed member.

Remarks

A component's customizer should call this constructor when it changes a property of the component; this will ensure that a property browser will display the updated property.

See Also

ComponentChangedEventArgs Class | ComponentChangedEventArgs Members | System.ComponentModel.Design Namespace | ComponentChangedEventHandler