Click or drag to resize
TextDocumentFromIUnknown Method
Creates a TextDocument instance from a pointer to an IUnknown object.

Namespace: TextObjectModel
Assembly: ManagedTOM2 (in ManagedTOM2.dll) Version: 1.0.5577.41188
Syntax
public static TextDocument FromIUnknown(
	IntPtr pUnk
)

Parameters

pUnk
Type: SystemIntPtr
Pointer to an IUnknown object.

Return Value

Type: TextDocument
TextDocument instance derived from the IUnknown object.
Remarks