次の方法で共有


StringInfo.String プロパティ

定義

現在の 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 オブジェクトが格納する文字列を割り当てる必要があります。

  • StringInfo(String) コンストラクターにvalue引数として指定された文字列。

適用対象