Share via


IConventionTypeBaseBuilder.CanHaveComplexProperty メソッド

定義

オーバーロード

CanHaveComplexProperty(MemberInfo, Type, Boolean)

指定した複合プロパティをこの型に追加できるかどうかを示す値を返します。

CanHaveComplexProperty(Type, String, Type, Boolean)

指定した複合プロパティをこの型に追加できるかどうかを示す値を返します。

CanHaveComplexProperty(MemberInfo, Type, Boolean)

指定した複合プロパティをこの型に追加できるかどうかを示す値を返します。

public bool CanHaveComplexProperty (System.Reflection.MemberInfo memberInfo, Type? complexType = default, bool fromDataAnnotation = false);
abstract member CanHaveComplexProperty : System.Reflection.MemberInfo * Type * bool -> bool
Public Function CanHaveComplexProperty (memberInfo As MemberInfo, Optional complexType As Type = Nothing, Optional fromDataAnnotation As Boolean = false) As Boolean

パラメーター

memberInfo
MemberInfo

PropertyInfoプロパティの またはFieldInfo

complexType
Type

ターゲット複合型。

fromDataAnnotation
Boolean

構成がデータ注釈を使用して指定されたかどうかを示します。

戻り値

true プロパティを追加できる場合は 。

適用対象

CanHaveComplexProperty(Type, String, Type, Boolean)

指定した複合プロパティをこの型に追加できるかどうかを示す値を返します。

public bool CanHaveComplexProperty (Type? propertyType, string propertyName, Type? complexType = default, bool fromDataAnnotation = false);
abstract member CanHaveComplexProperty : Type * string * Type * bool -> bool
Public Function CanHaveComplexProperty (propertyType As Type, propertyName As String, Optional complexType As Type = Nothing, Optional fromDataAnnotation As Boolean = false) As Boolean

パラメーター

propertyType
Type

プロパティが保持する値の型。

propertyName
String

構成するプロパティの名前。

complexType
Type

ターゲット複合型。

fromDataAnnotation
Boolean

構成がデータ注釈を使用して指定されたかどうかを示します。

戻り値

true プロパティを追加できる場合は 。

適用対象