TokenInfo Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
TokenInfo() |
Initializes a new instance of the TokenInfo class. |
TokenInfo(String, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>) |
Initializes a new instance of the TokenInfo class. |
TokenInfo()
- Source:
- TokenInfo.cs
Initializes a new instance of the TokenInfo class.
public TokenInfo ();
Public Sub New ()
Applies to
TokenInfo(String, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>)
- Source:
- TokenInfo.cs
Initializes a new instance of the TokenInfo class.
public TokenInfo (string token = default, int? startOffset = default, int? endOffset = default, int? position = default);
new Microsoft.Azure.Search.Models.TokenInfo : string * Nullable<int> * Nullable<int> * Nullable<int> -> Microsoft.Azure.Search.Models.TokenInfo
Public Sub New (Optional token As String = Nothing, Optional startOffset As Nullable(Of Integer) = Nothing, Optional endOffset As Nullable(Of Integer) = Nothing, Optional position As Nullable(Of Integer) = Nothing)
Parameters
- token
- String
The token returned by the analyzer.
The position of the token in the input text relative to other tokens. The first token in the input text has position 0, the next has position 1, and so on. Depending on the analyzer used, some tokens might have the same position, for example if they are synonyms of each other.
Applies to
Azure SDK for .NET