Resolver.GetQuickInfo Method
Gets the IntelliSense Quick Info data for the code object at the specified location.
Namespace: Microsoft.SqlServer.Management.SqlParser.Intellisense
Assembly: Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)
Syntax
'Declaration
Public Shared Function GetQuickInfo ( _
parseResult As ParseResult, _
line As Integer, _
col As Integer, _
displayInfoProvider As IMetadataDisplayInfoProvider _
) As CodeObjectQuickInfo
'Usage
Dim parseResult As ParseResult
Dim line As Integer
Dim col As Integer
Dim displayInfoProvider As IMetadataDisplayInfoProvider
Dim returnValue As CodeObjectQuickInfo
returnValue = Resolver.GetQuickInfo(parseResult, _
line, col, displayInfoProvider)
public static CodeObjectQuickInfo GetQuickInfo(
ParseResult parseResult,
int line,
int col,
IMetadataDisplayInfoProvider displayInfoProvider
)
public:
static CodeObjectQuickInfo^ GetQuickInfo(
ParseResult^ parseResult,
int line,
int col,
IMetadataDisplayInfoProvider^ displayInfoProvider
)
static member GetQuickInfo :
parseResult:ParseResult *
line:int *
col:int *
displayInfoProvider:IMetadataDisplayInfoProvider -> CodeObjectQuickInfo
public static function GetQuickInfo(
parseResult : ParseResult,
line : int,
col : int,
displayInfoProvider : IMetadataDisplayInfoProvider
) : CodeObjectQuickInfo
Parameters
- parseResult
Type: Microsoft.SqlServer.Management.SqlParser.Parser.ParseResult
The ParseResult object that the background parse produced.
- line
Type: System.Int32
The line number of the cursor position.
- col
Type: System.Int32
The column number of the cursor position.
- displayInfoProvider
Type: Microsoft.SqlServer.Management.SqlParser.MetadataProvider.IMetadataDisplayInfoProvider
An IMetadataDisplayInfoProvider object that is used to display the Quick Info text.
Return Value
Type: Babel.CodeObjectQuickInfo
A CodeObjectQuickInfo object that contains the Quick Info data.