TextAndAdornmentSequenceChangedEventArgs 构造函数

用指定的 IMappingSpan 初始化 TextAndAdornmentSequenceChangedEventArgs 的新实例。

命名空间:  Microsoft.VisualStudio.Text.Formatting
程序集:  Microsoft.VisualStudio.Text.UI(在 Microsoft.VisualStudio.Text.UI.dll 中)

语法

声明
Public Sub New ( _
    span As IMappingSpan _
)
public TextAndAdornmentSequenceChangedEventArgs(
    IMappingSpan span
)
public:
TextAndAdornmentSequenceChangedEventArgs(
    IMappingSpan^ span
)
new : 
        span:IMappingSpan -> TextAndAdornmentSequenceChangedEventArgs
public function TextAndAdornmentSequenceChangedEventArgs(
    span : IMappingSpan
)

参数

异常

异常 条件
ArgumentNullException

span 为 nullnull 引用(在 Visual Basic 中为 Nothing)。

.NET Framework 安全性

请参阅

参考

TextAndAdornmentSequenceChangedEventArgs 类

Microsoft.VisualStudio.Text.Formatting 命名空间