BindConverter.FormatValue Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Sobrecargas
FormatValue(Boolean, CultureInfo) |
Da formato al proporcionado |
FormatValue(Nullable<DateTimeOffset>, String, CultureInfo) |
Da formato al proporcionado |
FormatValue(Nullable<DateTime>, String, CultureInfo) |
Da formato al proporcionado |
FormatValue(Nullable<DateOnly>, String, CultureInfo) |
Da formato al proporcionado |
FormatValue(DateTimeOffset, String, CultureInfo) |
Da formato al proporcionado |
FormatValue(DateTime, String, CultureInfo) |
Da formato al proporcionado |
FormatValue(DateOnly, String, CultureInfo) |
Da formato al proporcionado |
FormatValue(TimeOnly, CultureInfo) |
Da formato al proporcionado |
FormatValue(String, CultureInfo) |
Da formato al proporcionado |
FormatValue(Single, CultureInfo) |
Da formato al proporcionado |
FormatValue(Nullable<TimeOnly>, CultureInfo) |
Da formato al proporcionado |
FormatValue(Nullable<Single>, CultureInfo) |
Da formato al proporcionado |
FormatValue(Nullable<Int64>, CultureInfo) |
Da formato al proporcionado |
FormatValue(Nullable<Int32>, CultureInfo) |
Da formato al proporcionado |
FormatValue(Nullable<TimeOnly>, String, CultureInfo) |
Da formato al proporcionado |
FormatValue(Nullable<Int16>, CultureInfo) |
Da formato al proporcionado |
FormatValue(Nullable<Decimal>, CultureInfo) |
Da formato al proporcionado |
FormatValue(Nullable<DateTimeOffset>, CultureInfo) |
Da formato al proporcionado |
FormatValue(Nullable<DateTime>, CultureInfo) |
Da formato al proporcionado |
FormatValue(Nullable<DateOnly>, CultureInfo) |
Da formato al proporcionado |
FormatValue(Nullable<Boolean>, CultureInfo) |
Da formato al proporcionado |
FormatValue(Int64, CultureInfo) |
Da formato al proporcionado |
FormatValue(Int32, CultureInfo) |
Da formato al proporcionado |
FormatValue(Int16, CultureInfo) |
Da formato al proporcionado |
FormatValue(Double, CultureInfo) |
Da formato al proporcionado |
FormatValue(Decimal, CultureInfo) |
Da formato al proporcionado |
FormatValue(DateTimeOffset, CultureInfo) |
Da formato al proporcionado |
FormatValue(DateTime, CultureInfo) |
Da formato al proporcionado |
FormatValue(DateOnly, CultureInfo) |
Da formato al proporcionado |
FormatValue(Nullable<Double>, CultureInfo) |
Da formato al proporcionado |
FormatValue(TimeOnly, String, CultureInfo) |
Da formato al proporcionado |
FormatValue<T>(T, CultureInfo) |
Da formato al proporcionado |
FormatValue(Boolean, CultureInfo)
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
Da formato al proporcionado value
para su inclusión en un atributo .
public static bool FormatValue (bool value, System.Globalization.CultureInfo culture = default);
public static bool FormatValue (bool value, System.Globalization.CultureInfo? culture = default);
static member FormatValue : bool * System.Globalization.CultureInfo -> bool
Public Shared Function FormatValue (value As Boolean, Optional culture As CultureInfo = Nothing) As Boolean
Parámetros
- value
- Boolean
Valor al que se va a aplicar formato.
- culture
- CultureInfo
que CultureInfo se va a usar al aplicar formato. Tiene como valor predeterminado CurrentCulture.
Devoluciones
Valor con formato.
Se aplica a
FormatValue(Nullable<DateTimeOffset>, String, CultureInfo)
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
Da formato al proporcionado value
como .String
public static string FormatValue (DateTimeOffset? value, string format, System.Globalization.CultureInfo culture = default);
public static string? FormatValue (DateTimeOffset? value, string format, System.Globalization.CultureInfo? culture = default);
static member FormatValue : Nullable<DateTimeOffset> * string * System.Globalization.CultureInfo -> string
Public Shared Function FormatValue (value As Nullable(Of DateTimeOffset), format As String, Optional culture As CultureInfo = Nothing) As String
Parámetros
- value
- Nullable<DateTimeOffset>
Valor al que se va a aplicar formato.
- format
- String
Formato que se usará. Se proporciona a ToString(String, IFormatProvider).
- culture
- CultureInfo
que CultureInfo se va a usar al aplicar formato. Tiene como valor predeterminado CurrentCulture.
Devoluciones
Valor con formato.
Se aplica a
FormatValue(Nullable<DateTime>, String, CultureInfo)
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
Da formato al proporcionado value
como .String
public static string FormatValue (DateTime? value, string format, System.Globalization.CultureInfo culture = default);
public static string? FormatValue (DateTime? value, string? format, System.Globalization.CultureInfo? culture = default);
static member FormatValue : Nullable<DateTime> * string * System.Globalization.CultureInfo -> string
Public Shared Function FormatValue (value As Nullable(Of DateTime), format As String, Optional culture As CultureInfo = Nothing) As String
Parámetros
- format
- String
Formato que se usará. Se proporciona a ToString(String, IFormatProvider).
- culture
- CultureInfo
que CultureInfo se va a usar al aplicar formato. Tiene como valor predeterminado CurrentCulture.
Devoluciones
Valor con formato.
Se aplica a
FormatValue(Nullable<DateOnly>, String, CultureInfo)
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
Da formato al proporcionado value
como .String
public static string? FormatValue (DateOnly? value, string format, System.Globalization.CultureInfo? culture = default);
static member FormatValue : Nullable<DateOnly> * string * System.Globalization.CultureInfo -> string
Public Shared Function FormatValue (value As Nullable(Of DateOnly), format As String, Optional culture As CultureInfo = Nothing) As String
Parámetros
- format
- String
Formato que se usará. Se proporciona a ToString(String, IFormatProvider).
- culture
- CultureInfo
que CultureInfo se va a usar al aplicar formato. Tiene como valor predeterminado CurrentCulture.
Devoluciones
Valor con formato.
Se aplica a
FormatValue(DateTimeOffset, String, CultureInfo)
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
Da formato al proporcionado value
como .String
public static string FormatValue (DateTimeOffset value, string format, System.Globalization.CultureInfo culture = default);
public static string FormatValue (DateTimeOffset value, string format, System.Globalization.CultureInfo? culture = default);
static member FormatValue : DateTimeOffset * string * System.Globalization.CultureInfo -> string
Public Shared Function FormatValue (value As DateTimeOffset, format As String, Optional culture As CultureInfo = Nothing) As String
Parámetros
- value
- DateTimeOffset
Valor al que se va a aplicar formato.
- format
- String
Formato que se usará. Se proporciona a ToString(String, IFormatProvider).
- culture
- CultureInfo
que CultureInfo se va a usar al aplicar formato. Tiene como valor predeterminado CurrentCulture.
Devoluciones
Valor con formato.
Se aplica a
FormatValue(DateTime, String, CultureInfo)
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
Da formato al proporcionado value
como .String
public static string FormatValue (DateTime value, string format, System.Globalization.CultureInfo culture = default);
public static string FormatValue (DateTime value, string format, System.Globalization.CultureInfo? culture = default);
static member FormatValue : DateTime * string * System.Globalization.CultureInfo -> string
Public Shared Function FormatValue (value As DateTime, format As String, Optional culture As CultureInfo = Nothing) As String
Parámetros
- value
- DateTime
Valor al que se va a aplicar formato.
- format
- String
Formato que se usará. Se proporciona a ToString(String, IFormatProvider).
- culture
- CultureInfo
que CultureInfo se va a usar durante el formato. Tiene como valor predeterminado CurrentCulture.
Devoluciones
Valor con formato.
Se aplica a
FormatValue(DateOnly, String, CultureInfo)
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
Da formato al proporcionado value
como .String
public static string FormatValue (DateOnly value, string format, System.Globalization.CultureInfo? culture = default);
static member FormatValue : DateOnly * string * System.Globalization.CultureInfo -> string
Public Shared Function FormatValue (value As DateOnly, format As String, Optional culture As CultureInfo = Nothing) As String
Parámetros
- value
- DateOnly
Valor al que se va a aplicar formato.
- format
- String
Formato que se usará. Se proporciona a ToString(String, IFormatProvider).
- culture
- CultureInfo
que CultureInfo se va a usar durante el formato. Tiene como valor predeterminado CurrentCulture.
Devoluciones
Valor con formato.
Se aplica a
FormatValue(TimeOnly, CultureInfo)
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
Da formato al proporcionado value
como .String
public static string FormatValue (TimeOnly value, System.Globalization.CultureInfo? culture = default);
static member FormatValue : TimeOnly * System.Globalization.CultureInfo -> string
Public Shared Function FormatValue (value As TimeOnly, Optional culture As CultureInfo = Nothing) As String
Parámetros
- value
- TimeOnly
Valor al que se va a aplicar formato.
- culture
- CultureInfo
que CultureInfo se va a usar durante el formato. Tiene como valor predeterminado CurrentCulture.
Devoluciones
Valor con formato.
Se aplica a
FormatValue(String, CultureInfo)
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
Da formato al proporcionado value
como .String
public static string FormatValue (string value, System.Globalization.CultureInfo culture = default);
public static string? FormatValue (string? value, System.Globalization.CultureInfo? culture = default);
static member FormatValue : string * System.Globalization.CultureInfo -> string
Public Shared Function FormatValue (value As String, Optional culture As CultureInfo = Nothing) As String
Parámetros
- value
- String
Valor al que se va a aplicar formato.
- culture
- CultureInfo
que CultureInfo se va a usar durante el formato. Tiene como valor predeterminado CurrentCulture.
Devoluciones
Valor con formato.
Se aplica a
FormatValue(Single, CultureInfo)
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
Da formato al proporcionado value
para su inclusión en un atributo .
public static string FormatValue (float value, System.Globalization.CultureInfo culture = default);
public static string FormatValue (float value, System.Globalization.CultureInfo? culture = default);
static member FormatValue : single * System.Globalization.CultureInfo -> string
Public Shared Function FormatValue (value As Single, Optional culture As CultureInfo = Nothing) As String
Parámetros
- value
- Single
Valor al que se va a aplicar formato.
- culture
- CultureInfo
que CultureInfo se va a usar durante el formato. Tiene como valor predeterminado CurrentCulture.
Devoluciones
Valor con formato.
Se aplica a
FormatValue(Nullable<TimeOnly>, CultureInfo)
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
Da formato al proporcionado value
como .String
public static string? FormatValue (TimeOnly? value, System.Globalization.CultureInfo? culture = default);
static member FormatValue : Nullable<TimeOnly> * System.Globalization.CultureInfo -> string
Public Shared Function FormatValue (value As Nullable(Of TimeOnly), Optional culture As CultureInfo = Nothing) As String
Parámetros
- culture
- CultureInfo
que CultureInfo se va a usar durante el formato. Tiene como valor predeterminado CurrentCulture.
Devoluciones
Valor con formato.
Se aplica a
FormatValue(Nullable<Single>, CultureInfo)
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
Da formato al proporcionado value
para su inclusión en un atributo .
public static string FormatValue (float? value, System.Globalization.CultureInfo culture = default);
public static string? FormatValue (float? value, System.Globalization.CultureInfo? culture = default);
static member FormatValue : Nullable<single> * System.Globalization.CultureInfo -> string
Public Shared Function FormatValue (value As Nullable(Of Single), Optional culture As CultureInfo = Nothing) As String
Parámetros
- culture
- CultureInfo
que CultureInfo se va a usar durante el formato. Tiene como valor predeterminado CurrentCulture.
Devoluciones
Valor con formato.
Se aplica a
FormatValue(Nullable<Int64>, CultureInfo)
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
Da formato al proporcionado value
para su inclusión en un atributo .
public static string FormatValue (long? value, System.Globalization.CultureInfo culture = default);
public static string? FormatValue (long? value, System.Globalization.CultureInfo? culture = default);
static member FormatValue : Nullable<int64> * System.Globalization.CultureInfo -> string
Public Shared Function FormatValue (value As Nullable(Of Long), Optional culture As CultureInfo = Nothing) As String
Parámetros
- culture
- CultureInfo
que CultureInfo se va a usar durante el formato. Tiene como valor predeterminado CurrentCulture.
Devoluciones
Valor con formato.
Se aplica a
FormatValue(Nullable<Int32>, CultureInfo)
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
Da formato al proporcionado value
para su inclusión en un atributo .
public static string FormatValue (int? value, System.Globalization.CultureInfo culture = default);
public static string? FormatValue (int? value, System.Globalization.CultureInfo? culture = default);
static member FormatValue : Nullable<int> * System.Globalization.CultureInfo -> string
Public Shared Function FormatValue (value As Nullable(Of Integer), Optional culture As CultureInfo = Nothing) As String
Parámetros
- culture
- CultureInfo
que CultureInfo se va a usar durante el formato. Tiene como valor predeterminado CurrentCulture.
Devoluciones
Valor con formato.
Se aplica a
FormatValue(Nullable<TimeOnly>, String, CultureInfo)
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
Da formato al proporcionado value
como .String
public static string? FormatValue (TimeOnly? value, string format, System.Globalization.CultureInfo? culture = default);
static member FormatValue : Nullable<TimeOnly> * string * System.Globalization.CultureInfo -> string
Public Shared Function FormatValue (value As Nullable(Of TimeOnly), format As String, Optional culture As CultureInfo = Nothing) As String
Parámetros
- format
- String
Formato que se usará. Se proporciona a ToString(String, IFormatProvider).
- culture
- CultureInfo
que CultureInfo se va a usar durante el formato. Tiene como valor predeterminado CurrentCulture.
Devoluciones
Valor con formato.
Se aplica a
FormatValue(Nullable<Int16>, CultureInfo)
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
Da formato al proporcionado value
para su inclusión en un atributo .
public static string? FormatValue (short? value, System.Globalization.CultureInfo? culture = default);
static member FormatValue : Nullable<int16> * System.Globalization.CultureInfo -> string
Public Shared Function FormatValue (value As Nullable(Of Short), Optional culture As CultureInfo = Nothing) As String
Parámetros
- culture
- CultureInfo
que CultureInfo se va a usar durante el formato. Tiene como valor predeterminado CurrentCulture.
Devoluciones
Valor con formato.
Se aplica a
FormatValue(Nullable<Decimal>, CultureInfo)
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
Da formato al proporcionado value
como .String
public static string FormatValue (decimal? value, System.Globalization.CultureInfo culture = default);
public static string? FormatValue (decimal? value, System.Globalization.CultureInfo? culture = default);
static member FormatValue : Nullable<decimal> * System.Globalization.CultureInfo -> string
Public Shared Function FormatValue (value As Nullable(Of Decimal), Optional culture As CultureInfo = Nothing) As String
Parámetros
- culture
- CultureInfo
que CultureInfo se va a usar durante el formato. Tiene como valor predeterminado CurrentCulture.
Devoluciones
Valor con formato.
Se aplica a
FormatValue(Nullable<DateTimeOffset>, CultureInfo)
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
Da formato al proporcionado value
como .String
public static string FormatValue (DateTimeOffset? value, System.Globalization.CultureInfo culture = default);
public static string? FormatValue (DateTimeOffset? value, System.Globalization.CultureInfo? culture = default);
static member FormatValue : Nullable<DateTimeOffset> * System.Globalization.CultureInfo -> string
Public Shared Function FormatValue (value As Nullable(Of DateTimeOffset), Optional culture As CultureInfo = Nothing) As String
Parámetros
- value
- Nullable<DateTimeOffset>
Valor al que se va a aplicar formato.
- culture
- CultureInfo
que CultureInfo se va a usar durante el formato. Tiene como valor predeterminado CurrentCulture.
Devoluciones
Valor con formato.
Se aplica a
FormatValue(Nullable<DateTime>, CultureInfo)
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
Da formato al proporcionado value
como .String
public static string FormatValue (DateTime? value, System.Globalization.CultureInfo culture = default);
public static string? FormatValue (DateTime? value, System.Globalization.CultureInfo? culture = default);
static member FormatValue : Nullable<DateTime> * System.Globalization.CultureInfo -> string
Public Shared Function FormatValue (value As Nullable(Of DateTime), Optional culture As CultureInfo = Nothing) As String
Parámetros
- culture
- CultureInfo
que CultureInfo se va a usar durante el formato. Tiene como valor predeterminado CurrentCulture.
Devoluciones
Valor con formato.
Se aplica a
FormatValue(Nullable<DateOnly>, CultureInfo)
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
Da formato al proporcionado value
como .String
public static string? FormatValue (DateOnly? value, System.Globalization.CultureInfo? culture = default);
static member FormatValue : Nullable<DateOnly> * System.Globalization.CultureInfo -> string
Public Shared Function FormatValue (value As Nullable(Of DateOnly), Optional culture As CultureInfo = Nothing) As String
Parámetros
- culture
- CultureInfo
que CultureInfo se va a usar durante el formato. Tiene como valor predeterminado CurrentCulture.
Devoluciones
Valor con formato.
Se aplica a
FormatValue(Nullable<Boolean>, CultureInfo)
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
Da formato al proporcionado value
para su inclusión en un atributo .
public static bool? FormatValue (bool? value, System.Globalization.CultureInfo culture = default);
public static bool? FormatValue (bool? value, System.Globalization.CultureInfo? culture = default);
static member FormatValue : Nullable<bool> * System.Globalization.CultureInfo -> Nullable<bool>
Public Shared Function FormatValue (value As Nullable(Of Boolean), Optional culture As CultureInfo = Nothing) As Nullable(Of Boolean)
Parámetros
- culture
- CultureInfo
que CultureInfo se va a usar durante el formato. Tiene como valor predeterminado CurrentCulture.
Devoluciones
Valor con formato.
Se aplica a
FormatValue(Int64, CultureInfo)
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
Da formato al proporcionado value
para su inclusión en un atributo .
public static string FormatValue (long value, System.Globalization.CultureInfo culture = default);
public static string FormatValue (long value, System.Globalization.CultureInfo? culture = default);
static member FormatValue : int64 * System.Globalization.CultureInfo -> string
Public Shared Function FormatValue (value As Long, Optional culture As CultureInfo = Nothing) As String
Parámetros
- value
- Int64
Valor al que se va a aplicar formato.
- culture
- CultureInfo
que CultureInfo se va a usar durante el formato. Tiene como valor predeterminado CurrentCulture.
Devoluciones
Valor con formato.
Se aplica a
FormatValue(Int32, CultureInfo)
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
Da formato al proporcionado value
para su inclusión en un atributo .
public static string FormatValue (int value, System.Globalization.CultureInfo culture = default);
public static string? FormatValue (int value, System.Globalization.CultureInfo? culture = default);
static member FormatValue : int * System.Globalization.CultureInfo -> string
Public Shared Function FormatValue (value As Integer, Optional culture As CultureInfo = Nothing) As String
Parámetros
- value
- Int32
Valor al que se va a aplicar formato.
- culture
- CultureInfo
que CultureInfo se va a usar durante el formato. Tiene como valor predeterminado CurrentCulture.
Devoluciones
Valor con formato.
Se aplica a
FormatValue(Int16, CultureInfo)
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
Da formato al proporcionado value
para su inclusión en un atributo .
public static string FormatValue (short value, System.Globalization.CultureInfo? culture = default);
static member FormatValue : int16 * System.Globalization.CultureInfo -> string
Public Shared Function FormatValue (value As Short, Optional culture As CultureInfo = Nothing) As String
Parámetros
- value
- Int16
Valor al que se va a aplicar formato.
- culture
- CultureInfo
que CultureInfo se va a usar durante el formato. Tiene como valor predeterminado CurrentCulture.
Devoluciones
Valor con formato.
Se aplica a
FormatValue(Double, CultureInfo)
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
Da formato al proporcionado value
para su inclusión en un atributo .
public static string FormatValue (double value, System.Globalization.CultureInfo culture = default);
public static string? FormatValue (double value, System.Globalization.CultureInfo? culture = default);
static member FormatValue : double * System.Globalization.CultureInfo -> string
Public Shared Function FormatValue (value As Double, Optional culture As CultureInfo = Nothing) As String
Parámetros
- value
- Double
Valor al que se va a aplicar formato.
- culture
- CultureInfo
que CultureInfo se va a usar durante el formato. Tiene como valor predeterminado CurrentCulture.
Devoluciones
Valor con formato.
Se aplica a
FormatValue(Decimal, CultureInfo)
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
Da formato al proporcionado value
para su inclusión en un atributo .
public static string FormatValue (decimal value, System.Globalization.CultureInfo culture = default);
public static string FormatValue (decimal value, System.Globalization.CultureInfo? culture = default);
static member FormatValue : decimal * System.Globalization.CultureInfo -> string
Public Shared Function FormatValue (value As Decimal, Optional culture As CultureInfo = Nothing) As String
Parámetros
- value
- Decimal
Valor al que se va a aplicar formato.
- culture
- CultureInfo
que CultureInfo se va a usar durante el formato. Tiene como valor predeterminado CurrentCulture.
Devoluciones
Valor con formato.
Se aplica a
FormatValue(DateTimeOffset, CultureInfo)
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
Da formato al proporcionado value
como .String
public static string FormatValue (DateTimeOffset value, System.Globalization.CultureInfo culture = default);
public static string FormatValue (DateTimeOffset value, System.Globalization.CultureInfo? culture = default);
static member FormatValue : DateTimeOffset * System.Globalization.CultureInfo -> string
Public Shared Function FormatValue (value As DateTimeOffset, Optional culture As CultureInfo = Nothing) As String
Parámetros
- value
- DateTimeOffset
Valor al que se va a aplicar formato.
- culture
- CultureInfo
que CultureInfo se va a usar durante el formato. Tiene como valor predeterminado CurrentCulture.
Devoluciones
Valor con formato.
Se aplica a
FormatValue(DateTime, CultureInfo)
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
Da formato al proporcionado value
como .String
public static string FormatValue (DateTime value, System.Globalization.CultureInfo culture = default);
public static string FormatValue (DateTime value, System.Globalization.CultureInfo? culture = default);
static member FormatValue : DateTime * System.Globalization.CultureInfo -> string
Public Shared Function FormatValue (value As DateTime, Optional culture As CultureInfo = Nothing) As String
Parámetros
- value
- DateTime
Valor al que se va a aplicar formato.
- culture
- CultureInfo
que CultureInfo se va a usar durante el formato. Tiene como valor predeterminado CurrentCulture.
Devoluciones
Valor con formato.
Se aplica a
FormatValue(DateOnly, CultureInfo)
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
Da formato al proporcionado value
como .String
public static string FormatValue (DateOnly value, System.Globalization.CultureInfo? culture = default);
static member FormatValue : DateOnly * System.Globalization.CultureInfo -> string
Public Shared Function FormatValue (value As DateOnly, Optional culture As CultureInfo = Nothing) As String
Parámetros
- value
- DateOnly
Valor al que se va a aplicar formato.
- culture
- CultureInfo
que CultureInfo se va a usar durante el formato. Tiene como valor predeterminado CurrentCulture.
Devoluciones
Valor con formato.
Se aplica a
FormatValue(Nullable<Double>, CultureInfo)
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
Da formato al proporcionado value
para su inclusión en un atributo .
public static string FormatValue (double? value, System.Globalization.CultureInfo culture = default);
public static string? FormatValue (double? value, System.Globalization.CultureInfo? culture = default);
static member FormatValue : Nullable<double> * System.Globalization.CultureInfo -> string
Public Shared Function FormatValue (value As Nullable(Of Double), Optional culture As CultureInfo = Nothing) As String
Parámetros
- culture
- CultureInfo
que CultureInfo se va a usar durante el formato. Tiene como valor predeterminado CurrentCulture.
Devoluciones
Valor con formato.
Se aplica a
FormatValue(TimeOnly, String, CultureInfo)
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
Da formato al proporcionado value
como .String
public static string FormatValue (TimeOnly value, string format, System.Globalization.CultureInfo? culture = default);
static member FormatValue : TimeOnly * string * System.Globalization.CultureInfo -> string
Public Shared Function FormatValue (value As TimeOnly, format As String, Optional culture As CultureInfo = Nothing) As String
Parámetros
- value
- TimeOnly
Valor al que se va a aplicar formato.
- format
- String
Formato que se usará. Se proporciona a ToString(String, IFormatProvider).
- culture
- CultureInfo
que CultureInfo se va a usar durante el formato. Tiene como valor predeterminado CurrentCulture.
Devoluciones
Valor con formato.
Se aplica a
FormatValue<T>(T, CultureInfo)
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
- Source:
- BindConverter.cs
Da formato al proporcionado value
como .String
public static object FormatValue<T> (T value, System.Globalization.CultureInfo culture = default);
public static object? FormatValue<T> (T value, System.Globalization.CultureInfo? culture = default);
static member FormatValue : 'T * System.Globalization.CultureInfo -> obj
Public Shared Function FormatValue(Of T) (value As T, Optional culture As CultureInfo = Nothing) As Object
Parámetros de tipo
- T
Parámetros
- value
- T
Valor al que se va a aplicar formato.
- culture
- CultureInfo
que CultureInfo se va a usar durante el formato. Tiene como valor predeterminado CurrentCulture.
Devoluciones
Valor con formato.