Compartilhar 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

'Declaração
ReadOnly Property SourceSnapshots As ReadOnlyCollection(Of ITextSnapshot)
ReadOnlyCollection<ITextSnapshot> SourceSnapshots { get; }
property ReadOnlyCollection<ITextSnapshot^>^ SourceSnapshots {
    ReadOnlyCollection<ITextSnapshot^>^ get ();
}
abstract SourceSnapshots : ReadOnlyCollection<ITextSnapshot>
function get SourceSnapshots () : ReadOnlyCollection<ITextSnapshot>

Property Value

Type: System.Collections.ObjectModel.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