ContentControls.Item Property

Returns the specified content control within the collection of content controls in a document.

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

Syntax

'Declaration
ReadOnly Default Property Item ( _
    ByRef Index As Object _
) As ContentControl
    Get
'Usage
Dim instance As ContentControls
Dim Index As Object
Dim value As ContentControl

value = instance(Index)
ContentControl this[
    ref Object Index
] { get; }

Parameters

  • Index
    Type: System.Object%
    Specifies the ordinal position of the content control to return.

Property Value

Type: Microsoft.Office.Interop.Word.ContentControl
ContentControl

See Also

Reference

ContentControls Interface

ContentControls Members

Microsoft.Office.Interop.Word Namespace