DataflowBlockOptions.NameFormat 屬性

定義

取得或設定格式字串,當查詢區塊名稱時會使用。

public:
 property System::String ^ NameFormat { System::String ^ get(); void set(System::String ^ value); };
public string NameFormat { get; set; }
member this.NameFormat : string with get, set
Public Property NameFormat As String

屬性值

當查詢區塊名稱時所用的格式字串。

備註

名稱格式最多可包含兩個格式項目。 {0} 將以區塊名稱取代。 {1} 會被區塊的 ID 取代,因為 ID 是從區塊的 Completion.Id 屬性回傳的。

適用於