Condividi tramite


XsltLibrary.FormatNumberDynamic Metodo

Definizione

Implementa la funzione XSLT format-number(). Per altre informazioni, vedere la sezione relativa alla formattazione dei numeri nella raccomandazione W3C.

Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice.

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

Parametri

value
Double

Valore da formattare.

formatPicture
String

Immagine del formato.

decimalFormatName
XmlQualifiedName

Nome di formato.

errorMessageName
String

Nome del messaggio di errore.

Restituisce

String

Stringa che indica il formato del numero. Per altre informazioni, vedere la sezione relativa alla formattazione dei numeri nella raccomandazione W3C.

Commenti

Il FormatNumberDynamic metodo formatta utilizzando il nome espanso in value formato formatPicture decimale e. Viene errorMessageName utilizzato solo per la segnalazione degli errori e deve contenere il nome completo dell'oggetto in formato decimale.

Si applica a