CTextDocument2.Attachmethod
Attaches an **ITextDocument2** interface pointer to the class.
No implementation located. This member is documented, but the source scan found no matching declaration. It is likely declared in a header this scan does not resolve, or provided by a macro.
Syntax
FUNCTION Attach (BYVAL pTextDocument2 AS ITextDocument2 PTR, BYVAL fAddRef AS BOOLEAN = FALSE) AS HRESULT
Parameters
| Name | Description | |
|---|---|---|
pTextDocument2 | The ITextDocument2 interface pointer to attach. | |
fAddRef | TRUE to increment the reference count of the object. Default is FALSE. |
Description
Attaches an ITextDocument2 interface pointer to the class.
Reference
- Documented in Windows/WIndows Controls/RichEdit/CTextDocument2 Class.md
- Topic: CTextDocument2 Class