語言

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

傳回

適用於