AutomationProperties.SetName(BindableObject, String) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
設定項目由開發人員指定的的簡短元素簡介名稱,例如 "Progress Indicator" 或 "Button"。
public static void SetName (Xamarin.Forms.BindableObject bindable, string value);
static member SetName : Xamarin.Forms.BindableObject * string -> unit
參數
- bindable
- BindableObject
要設定其名稱的物件。
- value
- System.String
新的名稱。