语言

CoreStrings.PropertyIsNotACollection(Object, Object) 方法

定义

实体类型“{entityType}”上的属性“{propertyName}”不是集合属性,不能与索引集合访问器一起使用。

public static string PropertyIsNotACollection(object? propertyName, object? entityType);
static member PropertyIsNotACollection : obj * obj -> string
Public Shared Function PropertyIsNotACollection (propertyName As Object, entityType As Object) As String

参数

propertyName
Object
entityType
Object

返回

适用于