共用方式為


DropDownListContentControl.Range Property

Gets a Range that represents the contents of the DropDownListContentControl.

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

Syntax

'Declaration
ReadOnly Property Range As Range
Range Range { get; }

Property Value

Type: Microsoft.Office.Interop.Word.Range
A Range that represents the contents of the DropDownListContentControl.

Remarks

Use the Range property to access the text in the control as well as the formatting of the text and other text properties. For more information about Range objects, see Word Object Model Overview.

.NET Framework Security

See Also

Reference

DropDownListContentControl Interface

Microsoft.Office.Tools.Word Namespace

Other Resources

Word Object Model Overview