Compartilhar via


Sparkline.SourceData Property

Gets or sets the range that contains the source data for a single sparkline.

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

Syntax

'Declaration
Property SourceData As String
    Get
    Set
'Usage
Dim instance As Sparkline
Dim value As String

value = instance.SourceData

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

Property Value

Type: System.String
The range that contains the source data for a single sparkline.

Remarks

Read/write.

The data source range for a single sparkline must be continuous.

See Also

Reference

Sparkline Interface

Sparkline Members

Microsoft.Office.Interop.Excel Namespace