InputFormatterContext.ModelName 屬性

定義

取得模型的名稱。 用來作為新增至 ModelState 之錯誤的索引鍵或索引鍵前置詞。

public:
 property System::String ^ ModelName { System::String ^ get(); };
public string ModelName { get; }
member this.ModelName : string
Public ReadOnly Property ModelName As String

屬性值

適用於