語言

Int32Rect.ToString 方法

定義

會建立一個字串表示。Int32Rect

多載

名稱 Description
ToString()

會建立一個字串表示。Int32Rect

ToString(IFormatProvider)

根據所提供的 Int32Rect建立字IFormatProvider串表示。

ToString()

會建立一個字串表示。Int32Rect

public:
 override System::String ^ ToString();
public override string ToString();
override this.ToString : unit -> string
Public Overrides Function ToString () As String

傳回

包含相同 X、 Y、 Width及 Height 此結構值 Int32Rect 的字串。

適用於

ToString(IFormatProvider)

根據所提供的 Int32Rect建立字IFormatProvider串表示。

public:
 System::String ^ ToString(IFormatProvider ^ provider);
public string ToString(IFormatProvider provider);
override this.ToString : IFormatProvider -> string
Public Function ToString (provider As IFormatProvider) As String

參數

provider
IFormatProvider

格式提供者。 如果提供者是 null,則使用當前的文化。

傳回

此實例 Int32Rect的字串表示。

適用於