__NamespaceModificationEvent

[This is preliminary documentation and subject to change.]

An instance of the __NamespaceModificationEvent system class is generated whenever an instance of __Namespace is modified. Note that the Name property of __Namespace cannot change, since namespaces cannot be renamed, but must be deleted and re-created under a new name. Therefore, this event type is limited to indicating changes in qualifiers and properties other than Name. This event is not generated whenever any kind of change occurs within the namespace, but rather is only generated when a namespace object itself is modified.

class __NamespaceModificationEvent : __NamespaceOperationEvent
{
    // Namespace TargetNamespace; inherited from superclass
    __Namespace PreviousNamespace;
};

Note that the only differences between the two objects will be in properties other than the Name property, and in qualifiers.

Properties

TargetNamespace
Inherited from __NamespaceOperationEvent. This contains a copy of the __Namespace instance that was modified. An examination of the embedded instance's Name property indicates which namespace was modified.
PreviousNamespace
This contains a copy of the __Namespace instance prior to modification. An examination of the embedded instance's Name property indicates which namespace was modified.

See Also

__NamespaceOperationEvent