SnapshotSpanEventArgs Constructor
Initializes a new instance of SnapshotSpanEventArgs with the specified SnapshotSpan.
Namespace: Microsoft.VisualStudio.Text
Assembly: Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)
Syntax
'Declaration
Public Sub New ( _
span As SnapshotSpan _
)
public SnapshotSpanEventArgs(
SnapshotSpan span
)
public:
SnapshotSpanEventArgs(
SnapshotSpan span
)
new :
span:SnapshotSpan -> SnapshotSpanEventArgs
public function SnapshotSpanEventArgs(
span : SnapshotSpan
)
Parameters
span
Type: Microsoft.VisualStudio.Text.SnapshotSpanThe SnapshotSpan.
.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.