Editar

Compartir a través de


XsltLibrary.FormatNumberDynamic Method

Definition

Implements 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:
 System::String ^ FormatNumberDynamic(double value, System::String ^ formatPicture, System::Xml::XmlQualifiedName ^ decimalFormatName, System::String ^ errorMessageName);
public string FormatNumberDynamic (double value, string formatPicture, System.Xml.XmlQualifiedName decimalFormatName, string errorMessageName);
member this.FormatNumberDynamic : double * string * System.Xml.XmlQualifiedName * string -> string
Public Function FormatNumberDynamic (value As Double, formatPicture As String, decimalFormatName As XmlQualifiedName, errorMessageName As String) As String

Parameters

value
Double

The value to format.

formatPicture
String

The format picture.

decimalFormatName
XmlQualifiedName

The format name.

errorMessageName
String

The error message name.

Returns

A string that indicates the number format. For more information, see the number formatting section in the W3C Recommendation.

Remarks

The FormatNumberDynamic method formats value by using the formatPicture and decimal-format expanded name. The errorMessageName is used only for error reporting and must contain the qualified name of the decimal-format object.

Applies to