DefaultValueAttribute Konstruktory

Definicja

Inicjuje nowe wystąpienie klasy DefaultValueAttribute.

Przeciążenia

Nazwa Opis
DefaultValueAttribute(Boolean)

Inicjuje DefaultValueAttribute nowe wystąpienie klasy przy użyciu Boolean wartości.

DefaultValueAttribute(Type, String)

Inicjuje nowe wystąpienie DefaultValueAttribute klasy, konwertuje określoną wartość na określony typ i używa niezmiennej kultury jako kontekstu tłumaczenia.

DefaultValueAttribute(UInt64)

Inicjuje DefaultValueAttribute nowe wystąpienie klasy przy użyciu UInt64 wartości.

DefaultValueAttribute(UInt32)

Inicjuje DefaultValueAttribute nowe wystąpienie klasy przy użyciu UInt32 wartości.

DefaultValueAttribute(UInt16)

Inicjuje DefaultValueAttribute nowe wystąpienie klasy przy użyciu UInt16 wartości.

DefaultValueAttribute(String)

Inicjuje nowe wystąpienie DefaultValueAttribute klasy przy użyciu klasy String.

DefaultValueAttribute(SByte)

Inicjuje DefaultValueAttribute nowe wystąpienie klasy przy użyciu SByte wartości.

DefaultValueAttribute(Single)

Inicjuje nowe wystąpienie DefaultValueAttribute klasy przy użyciu liczb zmiennoprzecinkowych o pojedynczej precyzji.

DefaultValueAttribute(Int64)

Inicjuje nowe wystąpienie DefaultValueAttribute klasy przy użyciu 64-bitowej liczby całkowitej ze znakiem.

DefaultValueAttribute(Int32)

Inicjuje nowe wystąpienie DefaultValueAttribute klasy przy użyciu 32-bitowej liczby całkowitej ze znakiem.

DefaultValueAttribute(Int16)

Inicjuje nowe wystąpienie DefaultValueAttribute klasy przy użyciu 16-bitowej liczby całkowitej ze znakiem.

DefaultValueAttribute(Double)

Inicjuje nowe wystąpienie DefaultValueAttribute klasy przy użyciu liczby zmiennoprzecinkowych o podwójnej precyzji.

DefaultValueAttribute(Char)

Inicjuje nowe wystąpienie DefaultValueAttribute klasy przy użyciu znaku Unicode.

DefaultValueAttribute(Byte)

Inicjuje DefaultValueAttribute nowe wystąpienie klasy przy użyciu 8-bitowej liczby całkowitej bez znaku.

DefaultValueAttribute(Object)

Inicjuje nowe wystąpienie klasy DefaultValueAttribute.

DefaultValueAttribute(Boolean)

Źródło:
DefaultValueAttribute.cs
Źródło:
DefaultValueAttribute.cs
Źródło:
DefaultValueAttribute.cs
Źródło:
DefaultValueAttribute.cs
Źródło:
DefaultValueAttribute.cs

Inicjuje DefaultValueAttribute nowe wystąpienie klasy przy użyciu Boolean wartości.

public:
 DefaultValueAttribute(bool value);
public DefaultValueAttribute(bool value);
new System.ComponentModel.DefaultValueAttribute : bool -> System.ComponentModel.DefaultValueAttribute
Public Sub New (value As Boolean)

Parametry

value
Boolean

Wartość Boolean domyślna.

Dotyczy

DefaultValueAttribute(Type, String)

Źródło:
DefaultValueAttribute.cs
Źródło:
DefaultValueAttribute.cs
Źródło:
DefaultValueAttribute.cs
Źródło:
DefaultValueAttribute.cs
Źródło:
DefaultValueAttribute.cs

Inicjuje nowe wystąpienie DefaultValueAttribute klasy, konwertuje określoną wartość na określony typ i używa niezmiennej kultury jako kontekstu tłumaczenia.

public:
 DefaultValueAttribute(Type ^ type, System::String ^ value);
public DefaultValueAttribute(Type type, string value);
public DefaultValueAttribute(Type type, string? value);
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("Generic TypeConverters may require the generic types to be annotated. For example, NullableConverter requires the underlying type to be DynamicallyAccessedMembers All.")]
public DefaultValueAttribute(Type type, string? value);
new System.ComponentModel.DefaultValueAttribute : Type * string -> System.ComponentModel.DefaultValueAttribute
[<System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("Generic TypeConverters may require the generic types to be annotated. For example, NullableConverter requires the underlying type to be DynamicallyAccessedMembers All.")>]
new System.ComponentModel.DefaultValueAttribute : Type * string -> System.ComponentModel.DefaultValueAttribute
Public Sub New (type As Type, value As String)

Parametry

type
Type

Wartość Type reprezentująca typ, na który ma być konwertowana wartość.

value
String

Element String , który można przekonwertować na typ przy użyciu TypeConverter typu i kultury angielskiej USA.

Atrybuty

Dotyczy

DefaultValueAttribute(UInt64)

Źródło:
DefaultValueAttribute.cs
Źródło:
DefaultValueAttribute.cs
Źródło:
DefaultValueAttribute.cs
Źródło:
DefaultValueAttribute.cs
Źródło:
DefaultValueAttribute.cs

Ważne

Ten interfejs API nie jest zgodny ze specyfikacją CLS.

Inicjuje DefaultValueAttribute nowe wystąpienie klasy przy użyciu UInt64 wartości.

public:
 DefaultValueAttribute(System::UInt64 value);
[System.CLSCompliant(false)]
public DefaultValueAttribute(ulong value);
[<System.CLSCompliant(false)>]
new System.ComponentModel.DefaultValueAttribute : uint64 -> System.ComponentModel.DefaultValueAttribute
Public Sub New (value As ULong)

Parametry

value
UInt64

Domyślna wartość niepodpisanej długiej liczby całkowitej.

Atrybuty

Dotyczy

DefaultValueAttribute(UInt32)

Źródło:
DefaultValueAttribute.cs
Źródło:
DefaultValueAttribute.cs
Źródło:
DefaultValueAttribute.cs
Źródło:
DefaultValueAttribute.cs
Źródło:
DefaultValueAttribute.cs

Ważne

Ten interfejs API nie jest zgodny ze specyfikacją CLS.

Inicjuje DefaultValueAttribute nowe wystąpienie klasy przy użyciu UInt32 wartości.

public:
 DefaultValueAttribute(System::UInt32 value);
[System.CLSCompliant(false)]
public DefaultValueAttribute(uint value);
[<System.CLSCompliant(false)>]
new System.ComponentModel.DefaultValueAttribute : uint32 -> System.ComponentModel.DefaultValueAttribute
Public Sub New (value As UInteger)

Parametry

value
UInt32

Domyślna wartość niepodpisanej liczby całkowitej.

Atrybuty

Dotyczy

DefaultValueAttribute(UInt16)

Źródło:
DefaultValueAttribute.cs
Źródło:
DefaultValueAttribute.cs
Źródło:
DefaultValueAttribute.cs
Źródło:
DefaultValueAttribute.cs
Źródło:
DefaultValueAttribute.cs

Ważne

Ten interfejs API nie jest zgodny ze specyfikacją CLS.

Inicjuje DefaultValueAttribute nowe wystąpienie klasy przy użyciu UInt16 wartości.

public:
 DefaultValueAttribute(System::UInt16 value);
[System.CLSCompliant(false)]
public DefaultValueAttribute(ushort value);
[<System.CLSCompliant(false)>]
new System.ComponentModel.DefaultValueAttribute : uint16 -> System.ComponentModel.DefaultValueAttribute
Public Sub New (value As UShort)

Parametry

value
UInt16

Domyślna niepodpisane 16-bitowa wartość całkowita.

Atrybuty

Dotyczy

DefaultValueAttribute(String)

Źródło:
DefaultValueAttribute.cs
Źródło:
DefaultValueAttribute.cs
Źródło:
DefaultValueAttribute.cs
Źródło:
DefaultValueAttribute.cs
Źródło:
DefaultValueAttribute.cs

Inicjuje nowe wystąpienie DefaultValueAttribute klasy przy użyciu klasy String.

public:
 DefaultValueAttribute(System::String ^ value);
public DefaultValueAttribute(string value);
public DefaultValueAttribute(string? value);
new System.ComponentModel.DefaultValueAttribute : string -> System.ComponentModel.DefaultValueAttribute
Public Sub New (value As String)

Parametry

value
String

Wartość String domyślna.

Dotyczy

DefaultValueAttribute(SByte)

Źródło:
DefaultValueAttribute.cs
Źródło:
DefaultValueAttribute.cs
Źródło:
DefaultValueAttribute.cs
Źródło:
DefaultValueAttribute.cs
Źródło:
DefaultValueAttribute.cs

Ważne

Ten interfejs API nie jest zgodny ze specyfikacją CLS.

Inicjuje DefaultValueAttribute nowe wystąpienie klasy przy użyciu SByte wartości.

public:
 DefaultValueAttribute(System::SByte value);
[System.CLSCompliant(false)]
public DefaultValueAttribute(sbyte value);
[<System.CLSCompliant(false)>]
new System.ComponentModel.DefaultValueAttribute : sbyte -> System.ComponentModel.DefaultValueAttribute
Public Sub New (value As SByte)

Parametry

value
SByte

Wartość domyślna podpisanych bajtów.

Atrybuty

Dotyczy

DefaultValueAttribute(Single)

Źródło:
DefaultValueAttribute.cs
Źródło:
DefaultValueAttribute.cs
Źródło:
DefaultValueAttribute.cs
Źródło:
DefaultValueAttribute.cs
Źródło:
DefaultValueAttribute.cs

Inicjuje nowe wystąpienie DefaultValueAttribute klasy przy użyciu liczb zmiennoprzecinkowych o pojedynczej precyzji.

public:
 DefaultValueAttribute(float value);
public DefaultValueAttribute(float value);
new System.ComponentModel.DefaultValueAttribute : single -> System.ComponentModel.DefaultValueAttribute
Public Sub New (value As Single)

Parametry

value
Single

Liczba zmiennoprzecinkowa o pojedynczej precyzji, która jest wartością domyślną.

Dotyczy

DefaultValueAttribute(Int64)

Źródło:
DefaultValueAttribute.cs
Źródło:
DefaultValueAttribute.cs
Źródło:
DefaultValueAttribute.cs
Źródło:
DefaultValueAttribute.cs
Źródło:
DefaultValueAttribute.cs

Inicjuje nowe wystąpienie DefaultValueAttribute klasy przy użyciu 64-bitowej liczby całkowitej ze znakiem.

public:
 DefaultValueAttribute(long value);
public DefaultValueAttribute(long value);
new System.ComponentModel.DefaultValueAttribute : int64 -> System.ComponentModel.DefaultValueAttribute
Public Sub New (value As Long)

Parametry

value
Int64

64-bitowa liczba całkowita ze znakiem, która jest wartością domyślną.

Dotyczy

DefaultValueAttribute(Int32)

Źródło:
DefaultValueAttribute.cs
Źródło:
DefaultValueAttribute.cs
Źródło:
DefaultValueAttribute.cs
Źródło:
DefaultValueAttribute.cs
Źródło:
DefaultValueAttribute.cs

Inicjuje nowe wystąpienie DefaultValueAttribute klasy przy użyciu 32-bitowej liczby całkowitej ze znakiem.

public:
 DefaultValueAttribute(int value);
public DefaultValueAttribute(int value);
new System.ComponentModel.DefaultValueAttribute : int -> System.ComponentModel.DefaultValueAttribute
Public Sub New (value As Integer)

Parametry

value
Int32

32-bitowa liczba całkowita ze znakiem, która jest wartością domyślną.

Dotyczy

DefaultValueAttribute(Int16)

Źródło:
DefaultValueAttribute.cs
Źródło:
DefaultValueAttribute.cs
Źródło:
DefaultValueAttribute.cs
Źródło:
DefaultValueAttribute.cs
Źródło:
DefaultValueAttribute.cs

Inicjuje nowe wystąpienie DefaultValueAttribute klasy przy użyciu 16-bitowej liczby całkowitej ze znakiem.

public:
 DefaultValueAttribute(short value);
public DefaultValueAttribute(short value);
new System.ComponentModel.DefaultValueAttribute : int16 -> System.ComponentModel.DefaultValueAttribute
Public Sub New (value As Short)

Parametry

value
Int16

16-bitowa liczba całkowita ze znakiem, która jest wartością domyślną.

Dotyczy

DefaultValueAttribute(Double)

Źródło:
DefaultValueAttribute.cs
Źródło:
DefaultValueAttribute.cs
Źródło:
DefaultValueAttribute.cs
Źródło:
DefaultValueAttribute.cs
Źródło:
DefaultValueAttribute.cs

Inicjuje nowe wystąpienie DefaultValueAttribute klasy przy użyciu liczby zmiennoprzecinkowych o podwójnej precyzji.

public:
 DefaultValueAttribute(double value);
public DefaultValueAttribute(double value);
new System.ComponentModel.DefaultValueAttribute : double -> System.ComponentModel.DefaultValueAttribute
Public Sub New (value As Double)

Parametry

value
Double

Liczba zmiennoprzecinkowa o podwójnej precyzji, która jest wartością domyślną.

Dotyczy

DefaultValueAttribute(Char)

Źródło:
DefaultValueAttribute.cs
Źródło:
DefaultValueAttribute.cs
Źródło:
DefaultValueAttribute.cs
Źródło:
DefaultValueAttribute.cs
Źródło:
DefaultValueAttribute.cs

Inicjuje nowe wystąpienie DefaultValueAttribute klasy przy użyciu znaku Unicode.

public:
 DefaultValueAttribute(char value);
public DefaultValueAttribute(char value);
new System.ComponentModel.DefaultValueAttribute : char -> System.ComponentModel.DefaultValueAttribute
Public Sub New (value As Char)

Parametry

value
Char

Znak Unicode, który jest wartością domyślną.

Dotyczy

DefaultValueAttribute(Byte)

Źródło:
DefaultValueAttribute.cs
Źródło:
DefaultValueAttribute.cs
Źródło:
DefaultValueAttribute.cs
Źródło:
DefaultValueAttribute.cs
Źródło:
DefaultValueAttribute.cs

Inicjuje DefaultValueAttribute nowe wystąpienie klasy przy użyciu 8-bitowej liczby całkowitej bez znaku.

public:
 DefaultValueAttribute(System::Byte value);
public DefaultValueAttribute(byte value);
new System.ComponentModel.DefaultValueAttribute : byte -> System.ComponentModel.DefaultValueAttribute
Public Sub New (value As Byte)

Parametry

value
Byte

8-bitowa liczba całkowita bez znaku, która jest wartością domyślną.

Dotyczy

DefaultValueAttribute(Object)

Źródło:
DefaultValueAttribute.cs
Źródło:
DefaultValueAttribute.cs
Źródło:
DefaultValueAttribute.cs
Źródło:
DefaultValueAttribute.cs
Źródło:
DefaultValueAttribute.cs

Inicjuje nowe wystąpienie klasy DefaultValueAttribute.

public:
 DefaultValueAttribute(System::Object ^ value);
public DefaultValueAttribute(object value);
public DefaultValueAttribute(object? value);
new System.ComponentModel.DefaultValueAttribute : obj -> System.ComponentModel.DefaultValueAttribute
Public Sub New (value As Object)

Parametry

value
Object

Element Object reprezentujący wartość domyślną.

Dotyczy