Edit

Share via


Script.Extended Property

Definition

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