共用方式為


JsonPropertyOrderAttribute(Int32) 建構函式

定義

使用指定的順序,初始化 的新實例 JsonPropertyNameAttribute

public:
 JsonPropertyOrderAttribute(int order);
public JsonPropertyOrderAttribute (int order);
new System.Text.Json.Serialization.JsonPropertyOrderAttribute : int -> System.Text.Json.Serialization.JsonPropertyOrderAttribute
Public Sub New (order As Integer)

參數

order
Int32

屬性的順序。

適用於