Compartir a través de


BindConverter.FormatValue Método

Definición

Sobrecargas

FormatValue(Boolean, CultureInfo)

Da formato al proporcionado value para su inclusión en un atributo .

FormatValue(Nullable<DateTimeOffset>, String, CultureInfo)

Da formato al proporcionado value como .String

FormatValue(Nullable<DateTime>, String, CultureInfo)

Da formato al proporcionado value como .String

FormatValue(Nullable<DateOnly>, String, CultureInfo)

Da formato al proporcionado value como .String

FormatValue(DateTimeOffset, String, CultureInfo)

Da formato al proporcionado value como .String

FormatValue(DateTime, String, CultureInfo)

Da formato al proporcionado value como .String

FormatValue(DateOnly, String, CultureInfo)

Da formato al proporcionado value como .String

FormatValue(TimeOnly, CultureInfo)

Da formato al proporcionado value como .String

FormatValue(String, CultureInfo)

Da formato al proporcionado value como .String

FormatValue(Single, CultureInfo)

Da formato al proporcionado value para su inclusión en un atributo .

FormatValue(Nullable<TimeOnly>, CultureInfo)

Da formato al proporcionado value como .String

FormatValue(Nullable<Single>, CultureInfo)

Da formato al proporcionado value para su inclusión en un atributo .

FormatValue(Nullable<Int64>, CultureInfo)

Da formato al proporcionado value para su inclusión en un atributo .

FormatValue(Nullable<Int32>, CultureInfo)

Da formato al proporcionado value para su inclusión en un atributo .

FormatValue(Nullable<TimeOnly>, String, CultureInfo)

Da formato al proporcionado value como .String

FormatValue(Nullable<Int16>, CultureInfo)

Da formato al proporcionado value para su inclusión en un atributo .

FormatValue(Nullable<Decimal>, CultureInfo)

Da formato al proporcionado value como .String

FormatValue(Nullable<DateTimeOffset>, CultureInfo)

Da formato al proporcionado value como .String

FormatValue(Nullable<DateTime>, CultureInfo)

Da formato al proporcionado value como .String

FormatValue(Nullable<DateOnly>, CultureInfo)

Da formato al proporcionado value como .String

FormatValue(Nullable<Boolean>, CultureInfo)

Da formato al proporcionado value para su inclusión en un atributo .

FormatValue(Int64, CultureInfo)

Da formato al proporcionado value para su inclusión en un atributo .

FormatValue(Int32, CultureInfo)

Da formato al proporcionado value para su inclusión en un atributo .

FormatValue(Int16, CultureInfo)

Da formato al proporcionado value para su inclusión en un atributo .

FormatValue(Double, CultureInfo)

Da formato al proporcionado value para su inclusión en un atributo .

FormatValue(Decimal, CultureInfo)

Da formato al proporcionado value para su inclusión en un atributo .

FormatValue(DateTimeOffset, CultureInfo)

Da formato al proporcionado value como .String

FormatValue(DateTime, CultureInfo)

Da formato al proporcionado value como .String

FormatValue(DateOnly, CultureInfo)

Da formato al proporcionado value como .String

FormatValue(Nullable<Double>, CultureInfo)

Da formato al proporcionado value para su inclusión en un atributo .

FormatValue(TimeOnly, String, CultureInfo)

Da formato al proporcionado value como .String

FormatValue<T>(T, CultureInfo)

Da formato al proporcionado value como .String

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

value
Nullable<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 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

value
Nullable<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 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

value
Nullable<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(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

value
Nullable<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<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

value
Nullable<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(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

value
Nullable<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(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

value
Nullable<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(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

value
Nullable<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(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

value
Nullable<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(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

value
Nullable<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(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

value
Nullable<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<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

value
Nullable<Boolean>

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(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

value
Nullable<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(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.

Se aplica a