Script.Extended Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns or sets attributes added to the <SCRIPT> tag, with the exception of the LANGUAGE and ID attributes.
public:
property System::String ^ Extended { System::String ^ get(); void set(System::String ^ value); };
public string Extended { get; set; }
member this.Extended : string with get, set
Public Property Extended As String
Property Value
Remarks
Attributes are separated by spaces, the same as in HTML. You cannot pass the LANGUAGE attribute or the ID attribute by using the Extended property.
The Microsoft Office host application doesn’t provide any means of checking the syntax of passed attributes.
If you pass the LANGUAGE attribute in the Extended property, the <SCRIPT> tag receives two language settings, which causes a conflict.
If you pass an ID attribute in the Extended property and no ID has been set through either the ID parameter of the Add(Object, MsoScriptLocation, MsoScriptLanguage, String, String, String) method or the Id property of the Script object, the ID is exported correctly.
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應