IConventionSequence.SetClrType(Type, Boolean) Yöntem

Tanım

Dikkat

Use SetType

Dizisi Type tarafından döndürülen değerlerin değerlerini ayarlar.

public void SetClrType (Type clrType, bool fromDataAnnotation = false);
[System.Obsolete("Use SetType")]
public Type SetClrType (Type type, bool fromDataAnnotation = false);
[System.Obsolete("Use SetType")]
public Type? SetClrType (Type? type, bool fromDataAnnotation = false);
abstract member SetClrType : Type * bool -> unit
[<System.Obsolete("Use SetType")>]
abstract member SetClrType : Type * bool -> Type
Public Sub SetClrType (clrType As Type, Optional fromDataAnnotation As Boolean = false)
Public Function SetClrType (type As Type, Optional fromDataAnnotation As Boolean = false) As Type

Parametreler

clrTypetype
Type

Sıra Type tarafından döndürülen değerlerin değeri.

fromDataAnnotation
Boolean

Yapılandırmanın veri ek açıklaması kullanılarak belirtilmemiş olup olmadığını gösterir.

Döndürülenler

Type

Yapılandırılan değer.

Öznitelikler

Şunlara uygulanır