文档

Unity Engine

Unity Engine

QueryToken

Represents a token of a query string.
阅读时间1 分钟最后更新于 1 个月前

Definition

public readonly struct QueryToken

Constructors

Constructor

Description

QueryToken(System.String,System.Int32)Creates a token from a string and a position.
QueryToken(System.String,System.Int32,System.Int32)Creates a token from a string and a position.

Properties

Property

Description

lengthThe length of the token. Can be different than the length of the text.
positionThe position of the token in the query string.
textThe text representing the token.