StringInfo.String 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置当前 StringInfo 对象的值。
public:
property System::String ^ String { System::String ^ get(); void set(System::String ^ value); };
public string String { get; set; }
member this.String : string with get, set
Public Property String As String
属性值
作为当前 StringInfo 对象的值的字符串。
例外
设置操作 null中的值为 .
注解
StringInfo实例化对象时,其String属性将设置为以下值之一:
String.Empty 如果调用默认值 StringInfo() ,则为 。 然后,应使用该 String 属性分配此 StringInfo 对象 rperesents 的字符串。
作为
value构造函数的参数 StringInfo(String) 提供的字符串。