IDocumentContract.GetControls Method
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.Contract
Assembly: Microsoft.VisualStudio.Tools.Office.Contract.v9.0 (in Microsoft.VisualStudio.Tools.Office.Contract.v9.0.dll)
Syntax
'Declaration
Function GetControls As IDocumentControlCollectionContract
'Usage
Dim instance As IDocumentContract
Dim returnValue As IDocumentControlCollectionContract
returnValue = instance.GetControls()
IDocumentControlCollectionContract GetControls()
Return Value
Type: Microsoft.Office.Tools.Word.Contract.IDocumentControlCollectionContract
.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.