CustomAttributeTypedArgument Oluşturucular

Tanım

CustomAttributeTypedArgument sınıfının yeni bir örneğini başlatır.

Aşırı Yüklemeler

Name Description
CustomAttributeTypedArgument(Object)

Belirtilen değerle sınıfının yeni bir örneğini CustomAttributeTypedArgument başlatır.

CustomAttributeTypedArgument(Type, Object)

Belirtilen tür ve değerle sınıfının yeni bir örneğini CustomAttributeTypedArgument başlatır.

CustomAttributeTypedArgument(Object)

Kaynak:
CustomAttributeTypedArgument.cs
Kaynak:
CustomAttributeTypedArgument.cs
Kaynak:
CustomAttributeTypedArgument.cs
Kaynak:
CustomAttributeTypedArgument.cs
Kaynak:
CustomAttributeTypedArgument.cs

Belirtilen değerle sınıfının yeni bir örneğini CustomAttributeTypedArgument başlatır.

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

Parametreler

value
Object

Özel öznitelik bağımsız değişkeninin değeri.

Özel durumlar

value, null'e eşittir.

Açıklamalar

value Bağımsız değişken türü türünden çıkarılacağındannull, parametresi bu oluşturucu için olamazvalue. Bir null değer belirtmek için oluşturucuyu CustomAttributeTypedArgument(Type, Object) kullanın.

Bu oluşturucu, sınıfın devralıcıları CustomAttributeTypedArgument tarafından kullanılır. Uygulama kodunda kullanılmak üzere tasarlanmamıştır.

Şunlara uygulanır

CustomAttributeTypedArgument(Type, Object)

Kaynak:
CustomAttributeTypedArgument.cs
Kaynak:
CustomAttributeTypedArgument.cs
Kaynak:
CustomAttributeTypedArgument.cs
Kaynak:
CustomAttributeTypedArgument.cs
Kaynak:
CustomAttributeTypedArgument.cs

Belirtilen tür ve değerle sınıfının yeni bir örneğini CustomAttributeTypedArgument başlatır.

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)

Parametreler

argumentType
Type

Özel öznitelik bağımsız değişkeninin türü.

value
Object

Özel öznitelik bağımsız değişkeninin değeri.

Özel durumlar

argumentType, null'e eşittir.

Açıklamalar

Bu oluşturucu, sınıfın devralıcıları CustomAttributeTypedArgument tarafından kullanılır. Uygulama kodunda kullanılmak üzere tasarlanmamıştır.

Şunlara uygulanır