DefaultValueAttribute コンストラクター

定義

DefaultValueAttribute クラスの新しいインスタンスを初期化します。

オーバーロード

名前 説明
DefaultValueAttribute(Boolean)

Boolean値を使用して、DefaultValueAttribute クラスの新しいインスタンスを初期化します。

DefaultValueAttribute(Type, String)

DefaultValueAttribute クラスの新しいインスタンスを初期化し、指定した値を指定した型に変換し、インバリアント カルチャを変換コンテキストとして使用します。

DefaultValueAttribute(UInt64)

UInt64値を使用して、DefaultValueAttribute クラスの新しいインスタンスを初期化します。

DefaultValueAttribute(UInt32)

UInt32値を使用して、DefaultValueAttribute クラスの新しいインスタンスを初期化します。

DefaultValueAttribute(UInt16)

UInt16値を使用して、DefaultValueAttribute クラスの新しいインスタンスを初期化します。

DefaultValueAttribute(String)

Stringを使用して、DefaultValueAttribute クラスの新しいインスタンスを初期化します。

DefaultValueAttribute(SByte)

SByte値を使用して、DefaultValueAttribute クラスの新しいインスタンスを初期化します。

DefaultValueAttribute(Single)

単精度浮動小数点数を使用して、 DefaultValueAttribute クラスの新しいインスタンスを初期化します。

DefaultValueAttribute(Int64)

64 ビット符号付き整数を使用して、 DefaultValueAttribute クラスの新しいインスタンスを初期化します。

DefaultValueAttribute(Int32)

32 ビット符号付き整数を使用して、 DefaultValueAttribute クラスの新しいインスタンスを初期化します。

DefaultValueAttribute(Int16)

16 ビット符号付き整数を使用して、 DefaultValueAttribute クラスの新しいインスタンスを初期化します。

DefaultValueAttribute(Double)

倍精度浮動小数点数を使用して、 DefaultValueAttribute クラスの新しいインスタンスを初期化します。

DefaultValueAttribute(Char)

Unicode 文字を使用して、 DefaultValueAttribute クラスの新しいインスタンスを初期化します。

DefaultValueAttribute(Byte)

8 ビット符号なし整数を使用して、 DefaultValueAttribute クラスの新しいインスタンスを初期化します。

DefaultValueAttribute(Object)

DefaultValueAttribute クラスの新しいインスタンスを初期化します。

DefaultValueAttribute(Boolean)

Boolean値を使用して、DefaultValueAttribute クラスの新しいインスタンスを初期化します。

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

パラメーター

value
Boolean

既定値である Boolean

適用対象

DefaultValueAttribute(Type, String)

DefaultValueAttribute クラスの新しいインスタンスを初期化し、指定した値を指定した型に変換し、インバリアント カルチャを変換コンテキストとして使用します。

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

パラメーター

type
Type

値を変換する型を表す Type

value
String

型のTypeConverterと米国英語のカルチャを使用して型に変換できるString

適用対象

DefaultValueAttribute(UInt64)

重要

この API は CLS 準拠ではありません。

UInt64値を使用して、DefaultValueAttribute クラスの新しいインスタンスを初期化します。

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)

パラメーター

value
UInt64

既定の符号なし long 整数値。

属性

適用対象

DefaultValueAttribute(UInt32)

重要

この API は CLS 準拠ではありません。

UInt32値を使用して、DefaultValueAttribute クラスの新しいインスタンスを初期化します。

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)

パラメーター

value
UInt32

既定の符号なし整数値。

属性

適用対象

DefaultValueAttribute(UInt16)

重要

この API は CLS 準拠ではありません。

UInt16値を使用して、DefaultValueAttribute クラスの新しいインスタンスを初期化します。

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)

パラメーター

value
UInt16

既定の符号なし 16 ビット整数値。

属性

適用対象

DefaultValueAttribute(String)

Stringを使用して、DefaultValueAttribute クラスの新しいインスタンスを初期化します。

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

パラメーター

value
String

既定値である String

適用対象

DefaultValueAttribute(SByte)

重要

この API は CLS 準拠ではありません。

SByte値を使用して、DefaultValueAttribute クラスの新しいインスタンスを初期化します。

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)

パラメーター

value
SByte

既定の符号付きバイト値。

属性

適用対象

DefaultValueAttribute(Single)

単精度浮動小数点数を使用して、 DefaultValueAttribute クラスの新しいインスタンスを初期化します。

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

パラメーター

value
Single

既定値である単精度浮動小数点数。

適用対象

DefaultValueAttribute(Int64)

64 ビット符号付き整数を使用して、 DefaultValueAttribute クラスの新しいインスタンスを初期化します。

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

パラメーター

value
Int64

既定値である 64 ビット符号付き整数。

適用対象

DefaultValueAttribute(Int32)

32 ビット符号付き整数を使用して、 DefaultValueAttribute クラスの新しいインスタンスを初期化します。

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

パラメーター

value
Int32

既定値である 32 ビット符号付き整数。

適用対象

DefaultValueAttribute(Int16)

16 ビット符号付き整数を使用して、 DefaultValueAttribute クラスの新しいインスタンスを初期化します。

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

パラメーター

value
Int16

既定値である 16 ビット符号付き整数。

適用対象

DefaultValueAttribute(Double)

倍精度浮動小数点数を使用して、 DefaultValueAttribute クラスの新しいインスタンスを初期化します。

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

パラメーター

value
Double

既定値である倍精度浮動小数点数。

適用対象

DefaultValueAttribute(Char)

Unicode 文字を使用して、 DefaultValueAttribute クラスの新しいインスタンスを初期化します。

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

パラメーター

value
Char

既定値である Unicode 文字。

適用対象

DefaultValueAttribute(Byte)

8 ビット符号なし整数を使用して、 DefaultValueAttribute クラスの新しいインスタンスを初期化します。

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

パラメーター

value
Byte

既定値である 8 ビット符号なし整数。

適用対象

DefaultValueAttribute(Object)

DefaultValueAttribute クラスの新しいインスタンスを初期化します。

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

パラメーター

value
Object

既定値を表す Object

適用対象