Delen via


DatePickerContentControl.Text Property (2007 System)

Gets or sets the text in the DatePickerContentControl.

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

Syntax

'Declaration
<BindableAttribute(True)> _
Public Property Text As String
'Usage
Dim instance As DatePickerContentControl 
Dim value As String 

value = instance.Text

instance.Text = value
[BindableAttribute(true)]
public string Text { get; set; }
[BindableAttribute(true)]
public:
property String^ Text {
    String^ get ();
    void set (String^ value);
}
public function get Text () : String 
public function set Text (value : String)

Property Value

Type: System.String
The text in the DatePickerContentControl.

Remarks

To access the formatting of the text in the control and other text properties, use the Range property.

.NET Framework Security

See Also

Reference

DatePickerContentControl Class

DatePickerContentControl Members

Microsoft.Office.Tools.Word Namespace