共用方式為


ProjectionSourceSpansChangedEventArgs.InsertedSpans Property

Gets the set of source spans that were inserted into the IProjectionBuffer by this edit transaction.

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

Syntax

'宣告
Public ReadOnly Property InsertedSpans As ReadOnlyCollection(Of ITrackingSpan)
public ReadOnlyCollection<ITrackingSpan> InsertedSpans { get; }
public:
property ReadOnlyCollection<ITrackingSpan^>^ InsertedSpans {
    ReadOnlyCollection<ITrackingSpan^>^ get ();
}
member InsertedSpans : ReadOnlyCollection<ITrackingSpan>
function get InsertedSpans () : ReadOnlyCollection<ITrackingSpan>

Property Value

Type: System.Collections.ObjectModel.ReadOnlyCollection<ITrackingSpan>
The set of source spans that were inserted into the IProjectionBuffer by this edit transaction.

.NET Framework Security

See Also

Reference

ProjectionSourceSpansChangedEventArgs Class

Microsoft.VisualStudio.Text.Projection Namespace