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 物件所執行的字串。
字串作為
value建構子的參數 StringInfo(String) 。