| TextDocumentFromIUnknown Method |
Creates a
TextDocument instance from a pointer to an IUnknown object.
Namespace: TextObjectModelAssembly: ManagedTOM2 (in ManagedTOM2.dll) Version: 1.0.5577.41188
Syntax public static TextDocument FromIUnknown(
IntPtr pUnk
)
Public Shared Function FromIUnknown (
pUnk As IntPtr
) As TextDocument
public:
static TextDocument^ FromIUnknown(
IntPtr pUnk
)
Parameters
- pUnk
- Type: SystemIntPtr
Pointer to an IUnknown object.
Return Value
Type:
TextDocumentTextDocument instance derived from the IUnknown object.
Remarks See Also