MobileListItem.Text 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定項目中包含的文字。 這個 API 已經過時了。 如需如何開發 ASP.NET 行動應用程式的詳細資訊,請參閱 Mobile Apps & Sites with ASP.NET。
public:
property System::String ^ Text { System::String ^ get(); void set(System::String ^ value); };
public string Text { get; set; }
member this.Text : string with get, set
Public Property Text As String
屬性值
物品裡的文字。 預設為空字串(“”)。
備註
如果屬性 Text 是空字串,或從未設定過,無論是程式方式還是建構子,它會回傳該屬性對指定清單項目的值 Value 。
Text此屬性可透過屬性Text或內文來指定。 若 Text 性質同時指定,則內文始終優先。 然而,若 Text 該屬性是程式設定的,內層文本會自動移除,新設定的屬性優先。