GradientStop.ToString 方法

定义

基于当前区域性创建此对象的字符串表示形式。Creates a string representation of this object based on the current culture.

重载

ToString()

基于当前区域性创建此对象的字符串表示形式。Creates a string representation of this object based on the current culture.

ToString(IFormatProvider)

基于指定的区域性特定格式设置信息创建此对象的字符串表示形式。Creates a string representation of this object based on the specified culture-specific formatting information.

ToString()

基于当前区域性创建此对象的字符串表示形式。Creates a string representation of this object based on the current culture.

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

返回

此对象的字符串表示形式,包含该对象的 ColorOffset 值。A string representation of this object that contains its Color and Offset values.

ToString(IFormatProvider)

基于指定的区域性特定格式设置信息创建此对象的字符串表示形式。Creates a string representation of this object based on the specified culture-specific formatting information.

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

区域性特定的格式设置信息;如果使用当前区域性,则为 nullCulture specific formatting information, or null to use the current culture.

返回

此对象的字符串表示形式,包含该对象的 ColorOffset 值。A string representation of this object that contains its Color and Offset values.

适用于