RuntimeNamePropertyAttribute(String) 建構函式

定義

初始化 RuntimeNamePropertyAttribute 類別的新執行個體。

public:
 RuntimeNamePropertyAttribute(System::String ^ name);
public RuntimeNamePropertyAttribute (string name);
new System.Windows.Markup.RuntimeNamePropertyAttribute : string -> System.Windows.Markup.RuntimeNamePropertyAttribute
Public Sub New (name As String)

參數

name
String

要作為類別之對等 x:Name 的屬性名稱。

備註

指定的屬性必須是 型 String 別,且具有取得和設定存取權。

適用於