SimpleTagger<T> Constructor
Initializes a new instance of SimpleTagger<T> for the specified buffer.
Namespace: Microsoft.VisualStudio.Text.Tagging
Assembly: Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)
Syntax
'宣言
Public Sub New ( _
buffer As ITextBuffer _
)
public SimpleTagger(
ITextBuffer buffer
)
public:
SimpleTagger(
ITextBuffer^ buffer
)
new :
buffer:ITextBuffer -> SimpleTagger
public function SimpleTagger(
buffer : ITextBuffer
)
Parameters
- buffer
Type: Microsoft.VisualStudio.Text.ITextBuffer
The subject buffer that will be tagged.
.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.