Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Initialize a new instance of an ElisionSourceSpansChangedEventArgs object.
Namespace: Microsoft.VisualStudio.Text.Projection
Assembly: Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)
Syntax
'Declaration
Public Sub New ( _
beforeSnapshot As IProjectionSnapshot, _
afterSnapshot As IProjectionSnapshot, _
elidedSpans As NormalizedSpanCollection, _
expandedSpans As NormalizedSpanCollection, _
sourceToken As Object _
)
public ElisionSourceSpansChangedEventArgs(
IProjectionSnapshot beforeSnapshot,
IProjectionSnapshot afterSnapshot,
NormalizedSpanCollection elidedSpans,
NormalizedSpanCollection expandedSpans,
Object sourceToken
)
public:
ElisionSourceSpansChangedEventArgs(
IProjectionSnapshot^ beforeSnapshot,
IProjectionSnapshot^ afterSnapshot,
NormalizedSpanCollection^ elidedSpans,
NormalizedSpanCollection^ expandedSpans,
Object^ sourceToken
)
new :
beforeSnapshot:IProjectionSnapshot *
afterSnapshot:IProjectionSnapshot *
elidedSpans:NormalizedSpanCollection *
expandedSpans:NormalizedSpanCollection *
sourceToken:Object -> ElisionSourceSpansChangedEventArgs
public function ElisionSourceSpansChangedEventArgs(
beforeSnapshot : IProjectionSnapshot,
afterSnapshot : IProjectionSnapshot,
elidedSpans : NormalizedSpanCollection,
expandedSpans : NormalizedSpanCollection,
sourceToken : Object
)
Parameters
beforeSnapshot
Type: Microsoft.VisualStudio.Text.Projection.IProjectionSnapshotThe most recent IProjectionSnapshot before the change occurred.
afterSnapshot
Type: Microsoft.VisualStudio.Text.Projection.IProjectionSnapshotThe IProjectionSnapshot immediately after the change occurred.
elidedSpans
Type: Microsoft.VisualStudio.Text.NormalizedSpanCollectionZero or more source spans that were hidden.
expandedSpans
Type: Microsoft.VisualStudio.Text.NormalizedSpanCollectionZero or more source spans that were expanded.
sourceToken
Type: ObjectAn arbitrary object associated with this change.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | beforeSnapshot, afterSnapshot, elidedSpans, or expandedSpans is nulla null reference (Nothing in Visual Basic). |
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.