MessageWindow.Text Property

Gets or sets the text for a MessageWindow.

Namespace: Microsoft.WindowsCE.Forms
Assembly: Microsoft.WindowsCE.Forms (in microsoft.windowsce.forms.dll)

Syntax

'Declaration
Public Property Text As String
'Usage
Dim instance As MessageWindow
Dim value As String

value = instance.Text

instance.Text = value
public string Text { get; set; }
public:
property String^ Text {
    String^ get ();
    void set (String^ value);
}
/** @property */
public String get_Text ()

/** @property */
public void set_Text (String value)
public function get Text () : String

public function set Text (value : String)

Property Value

The title bar text of a MessageWindow.

Exceptions

Exception type Condition

ObjectDisposedException

The MessageWindow has been disposed.

Remarks

This property uses the native Windows CE GetWindowText and SetNativeText functions to set and get the text. Setting this property to a null reference (Nothing in Visual Basic)results in an empty string.

.NET Framework Security

  • Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see .

Platforms

Windows CE, Windows Mobile for Pocket PC, Windows Mobile for Smartphone

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

Version Information

.NET Compact Framework

Supported in: 2.0

See Also

Reference

MessageWindow Class
MessageWindow Members
Microsoft.WindowsCE.Forms Namespace