ClientScriptItem.Text 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得客戶端腳本元素中包含的腳本語句。
public:
property System::String ^ Text { System::String ^ get(); };
public string Text { get; }
member this.Text : string
Public ReadOnly Property Text As String
屬性值
元素中包含的 script 腳本語句。
備註
屬性 Text 代表元素 script 中包含的陳述。 通常,元素的 script 腳本陳述會使用 或 TextSource 屬性來指定。
若屬性 Text 為 null 或 空字串(“”),則 script 該元素不包含任何腳本語句。
該 Source 屬性由 ClientScriptItem 建構子初始化。