Udostępnij za pośrednictwem


Document.GetPrimaryControl Method (2007 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.v9.0 (in Microsoft.Office.Tools.Word.v9.0.dll)

Syntax

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

returnValue = Me.GetPrimaryControl()
protected Document GetPrimaryControl()
protected:
Document^ GetPrimaryControl()
protected function GetPrimaryControl() : Document

Return Value

Type: Document

.NET Framework Security

See Also

Reference

Document Class

Document Members

Microsoft.Office.Tools.Word Namespace