Click or drag to resize
ICommenterProviderTryCreateCommenter Method
Gets the ICommenter implementation for the specified ITextBuffer.

Namespace: Tvl.VisualStudio.Text.Commenter.Interfaces
Assembly: Tvl.VisualStudio.Text.Commenter.Interfaces (in Tvl.VisualStudio.Text.Commenter.Interfaces.dll) Version: 1.0.0.0
Syntax
ICommenter TryCreateCommenter(
	ITextBuffer textBuffer
)

Parameters

textBuffer
Type: Microsoft.VisualStudio.TextITextBuffer
The text buffer.

Return Value

Type: ICommenter

An instance of ICommenter.

-or-

if this provider cannot provide a commenter for the specified text buffer.

Exceptions
ExceptionCondition
ArgumentNullExceptionIf textBuffer is .
See Also