CoreStrings.NullableKey(Object, Object) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
實體類型 '{entityType}' 的鍵不能包含屬性 '{property}',因為它是可空/可選的。 所有宣告金鑰的屬性都必須標記為不可空(non-nullable/required)。
public static string NullableKey(object? entityType, object? property);
public static string NullableKey(object entityType, object property);
static member NullableKey : obj * obj -> string
Public Shared Function NullableKey (entityType As Object, property As Object) As String
參數
- entityType
- Object
- property
- Object