Spread Windows Forms 10.0 Product Documentation
BuildFields(String,String,String,String,String) Method


A System.String value that indicates the pattern.
A System.String value that indicates the prefix string when value is positive.
A System.String value that indicates the suffix string when value is positive.
A System.String value that indicates the prefix string when value is negative.
A System.String value that indicates the suffix string when value is negative.
Builds a GrapeCity.Win.Spread.InputMan.CellType.Fields.NumberDisplayFieldInfo object using the specified format.
Syntax
'Declaration
 
Public Overloads Shared Function BuildFields( _
   ByVal pattern As String, _
   ByVal positivePrefix As String, _
   ByVal positiveSuffix As String, _
   ByVal negativePrefix As String, _
   ByVal negativeSuffix As String _
) As NumberDisplayFieldInfo()
'Usage
 
Dim pattern As String
Dim positivePrefix As String
Dim positiveSuffix As String
Dim negativePrefix As String
Dim negativeSuffix As String
Dim value() As NumberDisplayFieldInfo
 
value = NumberDisplayFieldInfosBuilder.BuildFields(pattern, positivePrefix, positiveSuffix, negativePrefix, negativeSuffix)

Parameters

pattern
A System.String value that indicates the pattern.
positivePrefix
A System.String value that indicates the prefix string when value is positive.
positiveSuffix
A System.String value that indicates the suffix string when value is positive.
negativePrefix
A System.String value that indicates the prefix string when value is negative.
negativeSuffix
A System.String value that indicates the suffix string when value is negative.
Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

See Also

Reference

NumberDisplayFieldInfosBuilder Class
NumberDisplayFieldInfosBuilder Members
Overload List

 

 


Copyright © GrapeCity, inc. All rights reserved.