Compartilhar via


WebOptions.LocationOfComponents Property

Returns or sets the central URL (on the intranet or Web) or path (local or network) to the location from which authorized users can download Microsoft Office Web components when viewing your saved document. The default value is the local or network installation path for Microsoft Office.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
Property LocationOfComponents As String
    Get
    Set
'Usage
Dim instance As WebOptions
Dim value As String

value = instance.LocationOfComponents

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

Property Value

Type: System.String

Remarks

Office Web components are automatically downloaded with the specified Web page if the DownloadComponents property is set to True, the components are not already installed, the path is valid and points to a location that contains the necessary components, and the user has a valid Microsoft Office license.

See Also

Reference

WebOptions Interface

WebOptions Members

Microsoft.Office.Interop.Excel Namespace