HwndSourceParameters.WindowName 屬性

定義

取得或設定視窗的名稱。

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

屬性值

視窗名稱。

備註

重要

請勿使用預設 (無參數) 建構函式來建構這個 結構的實例。 HwndSourceParameters無參數建構函式所建立的實例會導致 HwndSourceParameters 無法指派 WindowName (,即使 WindowName 屬性似乎可設定) 也一樣。 如果這類實例套用為建構函式的參數 HwndSource ,則產生的 HwndSource 無法顯示視窗。

適用於

另請參閱