InputScope.Names 属性

定义

获取或设置输入范围名称。Gets or sets the input scope name.

public:
 property System::Collections::IList ^ Names { System::Collections::IList ^ get(); };
public System.Collections.IList Names { get; }
member this.Names : System.Collections.IList
Public ReadOnly Property Names As IList

属性值

IList

用于指定此输入范围名称的 InputScopeName 枚举的一个成员。A member of the InputScopeName enumeration specifying a name for this input scope.

默认值是 DefaultThe default value is Default.

例外

当尝试将此属性设置为 InputScopeName 枚举的有效成员以外的任意值时引发。Raised when an attempt is made to set this property to any value other than a valid member of the InputScopeName enumeration.

注解

使用输入范围名称是引用元素的最简单方法 InputScopeUsing an input scope name is the simplest way to refer to an InputScope for an element.

适用于