ComboBoxContentControl.Range Property (2007 System)
Gets a Range that represents the contents of the ComboBoxContentControl.
Namespace: Microsoft.Office.Tools.Word
Assembly: Microsoft.Office.Tools.Word.v9.0 (in Microsoft.Office.Tools.Word.v9.0.dll)
Syntax
'Declaration
<BrowsableAttribute(False)> _
Public ReadOnly Property Range As Range
'Usage
Dim instance As ComboBoxContentControl
Dim value As Range
value = instance.Range
[BrowsableAttribute(false)]
public Range Range { get; }
[BrowsableAttribute(false)]
public:
property Range^ Range {
Range^ get ();
}
public function get Range () : Range
Property Value
Type: Range
A Range that represents the contents of the ComboBoxContentControl.
Remarks
Use the Range property to access the formatting of the text in the control and other text properties. For more information about Range objects, see Word Object Model Overview.
To access only the text that is displayed in the ComboBoxContentControl, use the Text property.
.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.
See Also
Reference
ComboBoxContentControl Members
Microsoft.Office.Tools.Word Namespace