ListControl.FormatString 属性

定义

获取或设置指示显示值的方式的格式说明符字符。Gets or sets the format-specifier characters that indicate how a value is to be displayed.

public:
 property System::String ^ FormatString { System::String ^ get(); void set(System::String ^ value); };
public string FormatString { get; set; }
member this.FormatString : string with get, set
Public Property FormatString As String

属性值

由格式说明符字符组成的字符串,指示如何显示值。The string of format-specifier characters that indicates how a value is to be displayed.

注解

使用的格式字符串必须遵循标准 .NET Framework.NET Framework 格式规范。The format string used must follow standard .NET Framework.NET Framework format specifications. 有关详细信息,请参阅.NET Framework 中的格式设置类型For more information, see Formatting Types in the .NET Framework.

适用于