RelationalStrings.ComplexPropertyJsonPropertyNameWithoutJsonMapping 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
複雜屬性 '{complexProperty}' 無法使用 'HasJsonPropertyName()',因為它不包含在 JSON 映射型別中。 使用 'ToJson()' 將複雜屬性映射到 JSON 欄位,或確保它包含在映射到 JSON 的型別中。
public static string ComplexPropertyJsonPropertyNameWithoutJsonMapping(object? complexProperty);
static member ComplexPropertyJsonPropertyNameWithoutJsonMapping : obj -> string
Public Shared Function ComplexPropertyJsonPropertyNameWithoutJsonMapping (complexProperty As Object) As String
參數
- complexProperty
- Object