CoreStrings.PropertyDoesNotBelong(Object, Object, Object) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
屬性 '{property}' 屬於類型 '{expectedType}',但正與類型 '{actualType}' 的實例搭配使用。
public static string PropertyDoesNotBelong (object property, object entityType, object expectedType);
public static string PropertyDoesNotBelong (object? property, object? entityType, object? expectedType);
public static string PropertyDoesNotBelong (object? property, object? expectedType, object? actualType);
static member PropertyDoesNotBelong : obj * obj * obj -> string
static member PropertyDoesNotBelong : obj * obj * obj -> string
Public Shared Function PropertyDoesNotBelong (property As Object, entityType As Object, expectedType As Object) As String
Public Shared Function PropertyDoesNotBelong (property As Object, expectedType As Object, actualType As Object) As String
參數
- property
- Object
- entityTypeexpectedType
- Object
- expectedTypeactualType
- Object