次の方法で共有


IConventionTypeBaseBuilder.CanHaveComplexIndexerProperty メソッド

定義

指定された複合インデクサー プロパティをこの型に追加できるかどうかを示す値を返します。

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

パラメーター

propertyType
Type

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

propertyName
String

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

complexType
Type

ターゲット複合型。

fromDataAnnotation
Boolean

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

戻り値

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

適用対象