| TextDocumentAttachMsgFilter Method |
(TOM 2 only)
Attaches a new message filter to the edit instance.
All window messages that the edit instance receives are forwarded to the message filter.
Namespace: TextObjectModelAssembly: ManagedTOM2 (in ManagedTOM2.dll) Version: 1.0.5577.41188
Syntax public void AttachMsgFilter(
Object filter
)
Public Sub AttachMsgFilter (
filter As Object
)
public:
void AttachMsgFilter(
Object^ filter
)
Parameters
- filter
- Type: SystemObject
The message filter.
Exceptions Exception | Condition |
---|
NotSupportedException |
The underlying COM object does not implement the ITextDocument2 interface.
|
See Also