Worksheet.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.Excel
Assembly: Microsoft.Office.Tools.Excel.v9.0 (in Microsoft.Office.Tools.Excel.v9.0.dll)
Syntax
'Declaration
Protected Function GetPrimaryControl As Worksheet
'Usage
Dim returnValue As Worksheet
returnValue = Me.GetPrimaryControl()
protected Worksheet GetPrimaryControl()
protected:
Worksheet^ GetPrimaryControl()
protected function GetPrimaryControl() : Worksheet
Return Value
Type: Worksheet
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.