共用方式為


CoreStrings.PropertyInUseKey(Object, Object, Object) 方法

定義

屬性 '{property}' 無法從類型 '{entityType}' 中移除,因為它正用於金鑰 {keyProperties}。 必須先移除或重新定義所有包含索引鍵,才能移除屬性。

public static string PropertyInUseKey (object property, object entityType, object key);
public static string PropertyInUseKey (object property, object entityType, object keyProperties);
public static string PropertyInUseKey (object? property, object? entityType, object? keyProperties);
static member PropertyInUseKey : obj * obj * obj -> string
static member PropertyInUseKey : obj * obj * obj -> string
Public Shared Function PropertyInUseKey (property As Object, entityType As Object, key As Object) As String
Public Shared Function PropertyInUseKey (property As Object, entityType As Object, keyProperties As Object) As String

參數

property
Object
entityType
Object
keykeyProperties
Object

傳回

適用於