Method InitMutationEventNs
- Namespace
- SharpVectors.Dom.Events
- Assembly
- SharpVectors.Core.dll
InitMutationEventNs(string, string, bool, bool, INode, string, string, string, AttrChangeType)
The InitMutationEventNs method is used to initialize the value of a IMutationEvent created using the IDocumentEvent.CreateEvent method.
void InitMutationEventNs(string namespaceUri, string typeArg, bool canBubbleArg, bool cancelableArg, INode relatedNodeArg, string prevValueArg, string newValueArg, string attrNameArg, AttrChangeType attrChangeArg)Parameters
- namespaceUristring
- Specifies the namespace URI associated with this event, or null if the application wish to have no namespace. 
- typeArgstring
- Specifies the event type. 
- canBubbleArgbool
- Specifies whether or not the event can bubble. 
- cancelableArgbool
- Specifies whether or not the event's default action can be prevented. 
- relatedNodeArgINode
- Specifies the IEvent's related Node. 
- prevValueArgstring
- Specifies the IEvent's PrevValue attribute. This value may be - null.
- newValueArgstring
- Specifies the IEvent's NewValue attribute. This value may be - null.
- attrNameArgstring
- Specifies the IEvent's AttrName attribute. This value may be - null.
- attrChangeArgAttrChangeType
- Specifies the IEvent's AttrChange attribute. 
Remarks
This method may only be called before the IMutationEvent has been dispatched via the IEventTarget.DispatchEvent method, though it may be called multiple times during that phase if necessary. If called multiple times, the final invocation takes precedence.