CustomAttributeTypedArgument 생성자

정의

CustomAttributeTypedArgument 클래스의 새 인스턴스를 초기화합니다.

오버로드

CustomAttributeTypedArgument(Object)

지정된 값을 사용하여 CustomAttributeTypedArgument 클래스의 새 인스턴스를 초기화합니다.

CustomAttributeTypedArgument(Type, Object)

지정한 유형 및 값을 포함하는 CustomAttributeTypedArgument 클래스의 새 인스턴스를 초기화합니다.

CustomAttributeTypedArgument(Object)

Source:
CustomAttributeTypedArgument.cs
Source:
CustomAttributeTypedArgument.cs
Source:
CustomAttributeTypedArgument.cs

지정된 값을 사용하여 CustomAttributeTypedArgument 클래스의 새 인스턴스를 초기화합니다.

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

매개 변수

value
Object

사용자 지정 특성 인수의 값입니다.

예외

value이(가) null인 경우

설명

인수 형식이 value 형식에서 유추되므로 null 이 생성자에 대해 매개 변수를 value사용할 수 없습니다. 값을 지정 null 하려면 생성자를 사용합니다 CustomAttributeTypedArgument(Type, Object) .

이 생성자는 클래스의 상속자에서 사용할 수 있습니다 CustomAttributeTypedArgument . 애플리케이션 코드에서 사용할 수 없습니다.

적용 대상

CustomAttributeTypedArgument(Type, Object)

Source:
CustomAttributeTypedArgument.cs
Source:
CustomAttributeTypedArgument.cs
Source:
CustomAttributeTypedArgument.cs

지정한 유형 및 값을 포함하는 CustomAttributeTypedArgument 클래스의 새 인스턴스를 초기화합니다.

public:
 CustomAttributeTypedArgument(Type ^ argumentType, System::Object ^ value);
public CustomAttributeTypedArgument (Type argumentType, object value);
public CustomAttributeTypedArgument (Type argumentType, object? value);
new System.Reflection.CustomAttributeTypedArgument : Type * obj -> System.Reflection.CustomAttributeTypedArgument
Public Sub New (argumentType As Type, value As Object)

매개 변수

argumentType
Type

사용자 지정 특성 인수의 형식입니다.

value
Object

사용자 지정 특성 인수의 값입니다.

예외

argumentType이(가) null인 경우

설명

이 생성자는 클래스의 상속자에서 사용할 수 있습니다 CustomAttributeTypedArgument . 애플리케이션 코드에서 사용할 수 없습니다.

적용 대상