Share via


DataMenuCommand.Text Property

This type has a SecurityCriticalAttribute attribute, which restricts it to internal use by the .NET Framework for Silverlight class library. Application code that uses any member of this type throws a MethodAccessException.

[SECURITY CRITICAL]

Retrieves the Text property of the menu command.

Namespace:  Microsoft.VisualStudio.Data.Framework
Assembly:  Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)

Syntax

'Declaration
Public Property Text As String
public string Text { get; set; }
public:
property String^ Text {
    String^ get ();
    void set (String^ value);
}
member Text : string with get, set
function get Text () : String 
function set Text (value : String)

Property Value

Type: System.String
Retrieves a String value containing the Text property of the menu command.

See Also

Reference

DataMenuCommand Class

Microsoft.VisualStudio.Data.Framework Namespace