| ICommenterProviderTryCreateCommenter Method |
Namespace: Tvl.VisualStudio.Text.Commenter.InterfacesAssembly: Tvl.VisualStudio.Text.Commenter.Interfaces (in Tvl.VisualStudio.Text.Commenter.Interfaces.dll) Version: 1.0.0.0
Syntax ICommenter TryCreateCommenter(
ITextBuffer textBuffer
)
Function TryCreateCommenter (
textBuffer As ITextBuffer
) As ICommenter
ICommenter^ TryCreateCommenter(
ITextBuffer^ textBuffer
)
abstract TryCreateCommenter :
textBuffer : ITextBuffer -> ICommenter
Parameters
- textBuffer
- Type: Microsoft.VisualStudio.TextITextBuffer
The text buffer.
Return Value
Type:
ICommenterAn instance of ICommenter.
-or-
if this provider cannot provide a commenter for the specified text
buffer.
Exceptions See Also