Document.GetPrimaryControl Method (2003 System)

This API supports the Visual Studio Tools for Office infrastructure and is not intended to be used directly from your code.

Namespace:  Microsoft.Office.Tools.Word
Assembly:  Microsoft.Office.Tools.Word (in Microsoft.Office.Tools.Word.dll)

Syntax

'Declaration
Protected Overridable Function GetPrimaryControl As Document
'Usage
Dim returnValue As Document

returnValue = Me.GetPrimaryControl()
protected virtual Document GetPrimaryControl()

Return Value

Type: Microsoft.Office.Interop.Word.Document

Permissions

See Also

Reference

Document Class

Document Members

Microsoft.Office.Tools.Word Namespace