Edit

Bagikan melalui


XsltLibrary.RegisterDecimalFormatter(String, String, String, String) Method

Definition

Registers a decimal formatter object and returns a unique index assigned to it. The decimal formatter object is used by the format-number() XSLT function. For more information, see the number formatting section in the W3C Recommendation.

This API supports the product infrastructure and is not intended to be used directly from your code.

public:
 double RegisterDecimalFormatter(System::String ^ formatPicture, System::String ^ infinitySymbol, System::String ^ nanSymbol, System::String ^ characters);
public double RegisterDecimalFormatter (string formatPicture, string infinitySymbol, string nanSymbol, string characters);
member this.RegisterDecimalFormatter : string * string * string * string -> double
Public Function RegisterDecimalFormatter (formatPicture As String, infinitySymbol As String, nanSymbol As String, characters As String) As Double

Parameters

formatPicture
String

String that contains the format picture.

infinitySymbol
String

String that contains the infinity symbol.

nanSymbol
String

String that contains the NaN symbol.

characters
String

String that contains characters to format.

Returns

A unique index assigned to a decimal formatter object.

Applies to