DataMenuCommand.Text 属性

此类型具有 SecurityCriticalAttribute 特性,此特性将其限定为只能由 .NET Framework for Silverlight 类库在内部使用。使用此类型的任何成员的应用程序代码将引发 MethodAccessException。

[SECURITY CRITICAL]

检索菜单命令的 Text 属性。

命名空间:  Microsoft.VisualStudio.Data.Framework
程序集:  Microsoft.VisualStudio.Data.Framework(在 Microsoft.VisualStudio.Data.Framework.dll 中)

语法

声明
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)

属性值

类型:System.String
检索包含菜单命令的 Text 属性的 String 值。

请参见

参考

DataMenuCommand 类

Microsoft.VisualStudio.Data.Framework 命名空间