CoreStrings.PropertyInUseKey(Object, Object, Object) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
屬性 '{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