Script.Extended Property

Returns or sets attributes added to the <SCRIPT> tag, with the exception of the LANGUAGE and ID attributes.

Namespace:  Microsoft.Office.Core
Assembly:  office (in office.dll)

Syntax

'Declaration
Property Extended As String
    Get
    Set
'Usage
Dim instance As Script
Dim value As String

value = instance.Extended

instance.Extended = value
string Extended { get; set; }

Property Value

Type: System.String

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 method or the Id property of the Script object, the ID is exported correctly.

See Also

Reference

Script Interface

Script Members

Microsoft.Office.Core Namespace