Freigeben über


BindConverter.FormatValue Methode

Definition

Überlädt

FormatValue(Boolean, CultureInfo)

Formatiert die bereitgestellte value für die Aufnahme in ein Attribut.

FormatValue(Nullable<DateTimeOffset>, String, CultureInfo)

Formatiert das bereitgestellte valueStringals .

FormatValue(Nullable<DateTime>, String, CultureInfo)

Formatiert das bereitgestellte valueStringals .

FormatValue(Nullable<DateOnly>, String, CultureInfo)

Formatiert das bereitgestellte valueStringals .

FormatValue(DateTimeOffset, String, CultureInfo)

Formatiert das bereitgestellte valueStringals .

FormatValue(DateTime, String, CultureInfo)

Formatiert das bereitgestellte valueStringals .

FormatValue(DateOnly, String, CultureInfo)

Formatiert das bereitgestellte valueStringals .

FormatValue(TimeOnly, CultureInfo)

Formatiert das bereitgestellte valueStringals .

FormatValue(String, CultureInfo)

Formatiert das bereitgestellte valueStringals .

FormatValue(Single, CultureInfo)

Formatiert die bereitgestellte value für die Aufnahme in ein Attribut.

FormatValue(Nullable<TimeOnly>, CultureInfo)

Formatiert das bereitgestellte valueStringals .

FormatValue(Nullable<Single>, CultureInfo)

Formatiert die bereitgestellte value für die Aufnahme in ein Attribut.

FormatValue(Nullable<Int64>, CultureInfo)

Formatiert die bereitgestellte value für die Aufnahme in ein Attribut.

FormatValue(Nullable<Int32>, CultureInfo)

Formatiert die bereitgestellte value für die Aufnahme in ein Attribut.

FormatValue(Nullable<TimeOnly>, String, CultureInfo)

Formatiert das bereitgestellte valueStringals .

FormatValue(Nullable<Int16>, CultureInfo)

Formatiert die bereitgestellte value für die Aufnahme in ein Attribut.

FormatValue(Nullable<Decimal>, CultureInfo)

Formatiert das bereitgestellte valueStringals .

FormatValue(Nullable<DateTimeOffset>, CultureInfo)

Formatiert das bereitgestellte valueStringals .

FormatValue(Nullable<DateTime>, CultureInfo)

Formatiert das bereitgestellte valueStringals .

FormatValue(Nullable<DateOnly>, CultureInfo)

Formatiert das bereitgestellte valueStringals .

FormatValue(Nullable<Boolean>, CultureInfo)

Formatiert die bereitgestellte value für die Aufnahme in ein Attribut.

FormatValue(Int64, CultureInfo)

Formatiert die bereitgestellte value für die Aufnahme in ein Attribut.

FormatValue(Int32, CultureInfo)

Formatiert die bereitgestellte value für die Aufnahme in ein Attribut.

FormatValue(Int16, CultureInfo)

Formatiert die bereitgestellte value für die Aufnahme in ein Attribut.

FormatValue(Double, CultureInfo)

Formatiert die bereitgestellte value für die Aufnahme in ein Attribut.

FormatValue(Decimal, CultureInfo)

Formatiert die bereitgestellte value für die Aufnahme in ein Attribut.

FormatValue(DateTimeOffset, CultureInfo)

Formatiert das bereitgestellte valueStringals .

FormatValue(DateTime, CultureInfo)

Formatiert das bereitgestellte valueStringals .

FormatValue(DateOnly, CultureInfo)

Formatiert das bereitgestellte valueStringals .

FormatValue(Nullable<Double>, CultureInfo)

Formatiert die bereitgestellte value für die Aufnahme in ein Attribut.

FormatValue(TimeOnly, String, CultureInfo)

Formatiert das bereitgestellte valueStringals .

FormatValue<T>(T, CultureInfo)

Formatiert das bereitgestellte valueStringals .

FormatValue(Boolean, CultureInfo)

Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs

Formatiert die bereitgestellte value für die Aufnahme in ein Attribut.

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

Parameter

value
Boolean

Der zu formatierende Wert.

culture
CultureInfo

Die , die CultureInfo beim Formatieren verwendet werden soll. Wird standardmäßig auf CurrentCulture festgelegt.

Gibt zurück

Der formatierte Wert.

Gilt für:

FormatValue(Nullable<DateTimeOffset>, String, CultureInfo)

Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs

Formatiert das bereitgestellte valueStringals .

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

Parameter

value
Nullable<DateTimeOffset>

Der zu formatierende Wert.

format
String

Das zu verwendende Format. Wird für bereitgestellt ToString(String, IFormatProvider).

culture
CultureInfo

Die , die CultureInfo beim Formatieren verwendet werden soll. Wird standardmäßig auf CurrentCulture festgelegt.

Gibt zurück

Der formatierte Wert.

Gilt für:

FormatValue(Nullable<DateTime>, String, CultureInfo)

Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs

Formatiert das bereitgestellte valueStringals .

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

Parameter

value
Nullable<DateTime>

Der zu formatierende Wert.

format
String

Das zu verwendende Format. Wird für bereitgestellt ToString(String, IFormatProvider).

culture
CultureInfo

Die , die CultureInfo beim Formatieren verwendet werden soll. Wird standardmäßig auf CurrentCulture festgelegt.

Gibt zurück

Der formatierte Wert.

Gilt für:

FormatValue(Nullable<DateOnly>, String, CultureInfo)

Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs

Formatiert das bereitgestellte valueStringals .

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

Parameter

value
Nullable<DateOnly>

Der zu formatierende Wert.

format
String

Das zu verwendende Format. Wird für bereitgestellt ToString(String, IFormatProvider).

culture
CultureInfo

Die , die CultureInfo beim Formatieren verwendet werden soll. Wird standardmäßig auf CurrentCulture festgelegt.

Gibt zurück

Der formatierte Wert.

Gilt für:

FormatValue(DateTimeOffset, String, CultureInfo)

Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs

Formatiert das bereitgestellte valueStringals .

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

Parameter

value
DateTimeOffset

Der zu formatierende Wert.

format
String

Das zu verwendende Format. Wird für bereitgestellt ToString(String, IFormatProvider).

culture
CultureInfo

Die , die CultureInfo beim Formatieren verwendet werden soll. Wird standardmäßig auf CurrentCulture festgelegt.

Gibt zurück

Der formatierte Wert.

Gilt für:

FormatValue(DateTime, String, CultureInfo)

Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs

Formatiert das bereitgestellte value als .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

Parameter

value
DateTime

Der zu formatierende Wert.

format
String

Das zu verwendende Format. Wird für bereitgestellt ToString(String, IFormatProvider).

culture
CultureInfo

Die , die CultureInfo während der Formatierung verwendet werden soll. Wird standardmäßig auf CurrentCulture festgelegt.

Gibt zurück

Der formatierte Wert.

Gilt für:

FormatValue(DateOnly, String, CultureInfo)

Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs

Formatiert das bereitgestellte value als .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

Parameter

value
DateOnly

Der zu formatierende Wert.

format
String

Das zu verwendende Format. Wird für bereitgestellt ToString(String, IFormatProvider).

culture
CultureInfo

Die , die CultureInfo während der Formatierung verwendet werden soll. Wird standardmäßig auf CurrentCulture festgelegt.

Gibt zurück

Der formatierte Wert.

Gilt für:

FormatValue(TimeOnly, CultureInfo)

Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs

Formatiert das bereitgestellte value als .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

Parameter

value
TimeOnly

Der zu formatierende Wert.

culture
CultureInfo

Die , die CultureInfo während der Formatierung verwendet werden soll. Wird standardmäßig auf CurrentCulture festgelegt.

Gibt zurück

Der formatierte Wert.

Gilt für:

FormatValue(String, CultureInfo)

Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs

Formatiert das bereitgestellte value als .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

Parameter

value
String

Der zu formatierende Wert.

culture
CultureInfo

Die , die CultureInfo während der Formatierung verwendet werden soll. Wird standardmäßig auf CurrentCulture festgelegt.

Gibt zurück

Der formatierte Wert.

Gilt für:

FormatValue(Single, CultureInfo)

Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs

Formatiert das bereitgestellte value für die Aufnahme in ein Attribut.

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

Parameter

value
Single

Der zu formatierende Wert.

culture
CultureInfo

Die , die CultureInfo während der Formatierung verwendet werden soll. Wird standardmäßig auf CurrentCulture festgelegt.

Gibt zurück

Der formatierte Wert.

Gilt für:

FormatValue(Nullable<TimeOnly>, CultureInfo)

Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs

Formatiert das bereitgestellte value als .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

Parameter

value
Nullable<TimeOnly>

Der zu formatierende Wert.

culture
CultureInfo

Die , die CultureInfo während der Formatierung verwendet werden soll. Wird standardmäßig auf CurrentCulture festgelegt.

Gibt zurück

Der formatierte Wert.

Gilt für:

FormatValue(Nullable<Single>, CultureInfo)

Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs

Formatiert das bereitgestellte value für die Aufnahme in ein Attribut.

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

Parameter

value
Nullable<Single>

Der zu formatierende Wert.

culture
CultureInfo

Die , die CultureInfo während der Formatierung verwendet werden soll. Wird standardmäßig auf CurrentCulture festgelegt.

Gibt zurück

Der formatierte Wert.

Gilt für:

FormatValue(Nullable<Int64>, CultureInfo)

Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs

Formatiert das bereitgestellte value für die Aufnahme in ein Attribut.

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

Parameter

value
Nullable<Int64>

Der zu formatierende Wert.

culture
CultureInfo

Die , die CultureInfo während der Formatierung verwendet werden soll. Wird standardmäßig auf CurrentCulture festgelegt.

Gibt zurück

Der formatierte Wert.

Gilt für:

FormatValue(Nullable<Int32>, CultureInfo)

Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs

Formatiert das bereitgestellte value für die Aufnahme in ein Attribut.

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

Parameter

value
Nullable<Int32>

Der zu formatierende Wert.

culture
CultureInfo

Die , die CultureInfo während der Formatierung verwendet werden soll. Wird standardmäßig auf CurrentCulture festgelegt.

Gibt zurück

Der formatierte Wert.

Gilt für:

FormatValue(Nullable<TimeOnly>, String, CultureInfo)

Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs

Formatiert das bereitgestellte value als .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

Parameter

value
Nullable<TimeOnly>

Der zu formatierende Wert.

format
String

Das zu verwendende Format. Wird für bereitgestellt ToString(String, IFormatProvider).

culture
CultureInfo

Die , die CultureInfo während der Formatierung verwendet werden soll. Wird standardmäßig auf CurrentCulture festgelegt.

Gibt zurück

Der formatierte Wert.

Gilt für:

FormatValue(Nullable<Int16>, CultureInfo)

Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs

Formatiert das bereitgestellte value für die Aufnahme in ein Attribut.

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

Parameter

value
Nullable<Int16>

Der zu formatierende Wert.

culture
CultureInfo

Die , die CultureInfo während der Formatierung verwendet werden soll. Wird standardmäßig auf CurrentCulture festgelegt.

Gibt zurück

Der formatierte Wert.

Gilt für:

FormatValue(Nullable<Decimal>, CultureInfo)

Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs

Formatiert das bereitgestellte value als .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

Parameter

value
Nullable<Decimal>

Der zu formatierende Wert.

culture
CultureInfo

Die , die CultureInfo während der Formatierung verwendet werden soll. Wird standardmäßig auf CurrentCulture festgelegt.

Gibt zurück

Der formatierte Wert.

Gilt für:

FormatValue(Nullable<DateTimeOffset>, CultureInfo)

Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs

Formatiert das bereitgestellte value als .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

Parameter

value
Nullable<DateTimeOffset>

Der zu formatierende Wert.

culture
CultureInfo

Die , die CultureInfo während der Formatierung verwendet werden soll. Wird standardmäßig auf CurrentCulture festgelegt.

Gibt zurück

Der formatierte Wert.

Gilt für:

FormatValue(Nullable<DateTime>, CultureInfo)

Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs

Formatiert das bereitgestellte value als .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

Parameter

value
Nullable<DateTime>

Der zu formatierende Wert.

culture
CultureInfo

Die , die CultureInfo während der Formatierung verwendet werden soll. Wird standardmäßig auf CurrentCulture festgelegt.

Gibt zurück

Der formatierte Wert.

Gilt für:

FormatValue(Nullable<DateOnly>, CultureInfo)

Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs

Formatiert das bereitgestellte value als .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

Parameter

value
Nullable<DateOnly>

Der zu formatierende Wert.

culture
CultureInfo

Die , die CultureInfo während der Formatierung verwendet werden soll. Wird standardmäßig auf CurrentCulture festgelegt.

Gibt zurück

Der formatierte Wert.

Gilt für:

FormatValue(Nullable<Boolean>, CultureInfo)

Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs

Formatiert das bereitgestellte value für die Aufnahme in ein Attribut.

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)

Parameter

value
Nullable<Boolean>

Der zu formatierende Wert.

culture
CultureInfo

Die , die CultureInfo während der Formatierung verwendet werden soll. Wird standardmäßig auf CurrentCulture festgelegt.

Gibt zurück

Der formatierte Wert.

Gilt für:

FormatValue(Int64, CultureInfo)

Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs

Formatiert das bereitgestellte value für die Aufnahme in ein Attribut.

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

Parameter

value
Int64

Der zu formatierende Wert.

culture
CultureInfo

Die , die CultureInfo während der Formatierung verwendet werden soll. Wird standardmäßig auf CurrentCulture festgelegt.

Gibt zurück

Der formatierte Wert.

Gilt für:

FormatValue(Int32, CultureInfo)

Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs

Formatiert das bereitgestellte value für die Aufnahme in ein Attribut.

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

Parameter

value
Int32

Der zu formatierende Wert.

culture
CultureInfo

Die , die CultureInfo während der Formatierung verwendet werden soll. Wird standardmäßig auf CurrentCulture festgelegt.

Gibt zurück

Der formatierte Wert.

Gilt für:

FormatValue(Int16, CultureInfo)

Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs

Formatiert das bereitgestellte value für die Aufnahme in ein Attribut.

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

Parameter

value
Int16

Der zu formatierende Wert.

culture
CultureInfo

Die , die CultureInfo während der Formatierung verwendet werden soll. Wird standardmäßig auf CurrentCulture festgelegt.

Gibt zurück

Der formatierte Wert.

Gilt für:

FormatValue(Double, CultureInfo)

Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs

Formatiert die bereitgestellte value für die Aufnahme in ein Attribut.

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

Parameter

value
Double

Der zu formatierende Wert.

culture
CultureInfo

Die , die CultureInfo beim Formatieren verwendet werden soll. Wird standardmäßig auf CurrentCulture festgelegt.

Gibt zurück

Der formatierte Wert.

Gilt für:

FormatValue(Decimal, CultureInfo)

Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs

Formatiert die bereitgestellte value für die Aufnahme in ein Attribut.

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

Parameter

value
Decimal

Der zu formatierende Wert.

culture
CultureInfo

Die , die CultureInfo beim Formatieren verwendet werden soll. Wird standardmäßig auf CurrentCulture festgelegt.

Gibt zurück

Der formatierte Wert.

Gilt für:

FormatValue(DateTimeOffset, CultureInfo)

Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs

Formatiert das bereitgestellte valueStringals .

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

Parameter

value
DateTimeOffset

Der zu formatierende Wert.

culture
CultureInfo

Die , die CultureInfo beim Formatieren verwendet werden soll. Wird standardmäßig auf CurrentCulture festgelegt.

Gibt zurück

Der formatierte Wert.

Gilt für:

FormatValue(DateTime, CultureInfo)

Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs

Formatiert das bereitgestellte valueStringals .

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

Parameter

value
DateTime

Der zu formatierende Wert.

culture
CultureInfo

Die , die CultureInfo beim Formatieren verwendet werden soll. Wird standardmäßig auf CurrentCulture festgelegt.

Gibt zurück

Der formatierte Wert.

Gilt für:

FormatValue(DateOnly, CultureInfo)

Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs

Formatiert das bereitgestellte valueStringals .

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

Parameter

value
DateOnly

Der zu formatierende Wert.

culture
CultureInfo

Die , die CultureInfo beim Formatieren verwendet werden soll. Wird standardmäßig auf CurrentCulture festgelegt.

Gibt zurück

Der formatierte Wert.

Gilt für:

FormatValue(Nullable<Double>, CultureInfo)

Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs

Formatiert die bereitgestellte value für die Aufnahme in ein Attribut.

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

Parameter

value
Nullable<Double>

Der zu formatierende Wert.

culture
CultureInfo

Die , die CultureInfo beim Formatieren verwendet werden soll. Wird standardmäßig auf CurrentCulture festgelegt.

Gibt zurück

Der formatierte Wert.

Gilt für:

FormatValue(TimeOnly, String, CultureInfo)

Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs

Formatiert das bereitgestellte valueStringals .

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

Parameter

value
TimeOnly

Der zu formatierende Wert.

format
String

Das zu verwendende Format. Wird für bereitgestellt ToString(String, IFormatProvider).

culture
CultureInfo

Die , die CultureInfo beim Formatieren verwendet werden soll. Wird standardmäßig auf CurrentCulture festgelegt.

Gibt zurück

Der formatierte Wert.

Gilt für:

FormatValue<T>(T, CultureInfo)

Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs
Quelle:
BindConverter.cs

Formatiert das bereitgestellte valueStringals .

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

Typparameter

T

Parameter

value
T

Der zu formatierende Wert.

culture
CultureInfo

Die , die CultureInfo beim Formatieren verwendet werden soll. Wird standardmäßig auf CurrentCulture festgelegt.

Gibt zurück

Der formatierte Wert.

Gilt für: