Partager via


IProjectionSnapshot.SourceSnapshots Property

Gets the set of one or more text snapshots that contribute source spans to this projection snapshot.

Namespace:  Microsoft.VisualStudio.Text.Projection
Assembly:  Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)

Syntax

'Declaration
ReadOnly Property SourceSnapshots As ReadOnlyCollection(Of ITextSnapshot)
ReadOnlyCollection<ITextSnapshot> SourceSnapshots { get; }
property ReadOnlyCollection<ITextSnapshot^>^ SourceSnapshots {
    ReadOnlyCollection<ITextSnapshot^>^ get ();
}
abstract SourceSnapshots : ReadOnlyCollection<ITextSnapshot> with get
function get SourceSnapshots () : ReadOnlyCollection<ITextSnapshot>

Property Value

Type: ReadOnlyCollection<ITextSnapshot>
The set of one or more text snapshots that contribute source spans to this projection snapshot.

Remarks

The ordering of the list is arbitrary. It does not contain duplicates.

.NET Framework Security

See Also

Reference

IProjectionSnapshot Interface

Microsoft.VisualStudio.Text.Projection Namespace