TSqlParser.ParseConstantOrIdentifierWithDefault 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 名稱 | Description |
|---|---|
| ParseConstantOrIdentifierWithDefault(TextReader, IList<ParseError>, Int32, Int32, Int32) |
解析輸入字串以取得常數、識別碼或預設字面值(值為「DEFAULT」)。 如果有任何錯誤,會回傳 null。 |
| ParseConstantOrIdentifierWithDefault(TextReader, IList<ParseError>) |
解析輸入字串以取得常數、識別碼或預設字面值(值為「DEFAULT」)。 如果有任何錯誤,會回傳 null。 |
ParseConstantOrIdentifierWithDefault(TextReader, IList<ParseError>, Int32, Int32, Int32)
解析輸入字串以取得常數、識別碼或預設字面值(值為「DEFAULT」)。 如果有任何錯誤,會回傳 null。
public abstract Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment ParseConstantOrIdentifierWithDefault(System.IO.TextReader input, out System.Collections.Generic.IList<Microsoft.SqlServer.TransactSql.ScriptDom.ParseError> errors, int startOffset, int startLine, int startColumn);
abstract member ParseConstantOrIdentifierWithDefault : System.IO.TextReader * IList * int * int * int -> Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment
Public MustOverride Function ParseConstantOrIdentifierWithDefault (input As TextReader, ByRef errors As IList(Of ParseError), startOffset As Integer, startLine As Integer, startColumn As Integer) As TSqlFragment
參數
- input
- TextReader
- errors
- IList<ParseError>
- startOffset
- Int32
- startLine
- Int32
- startColumn
- Int32
傳回
適用於
ParseConstantOrIdentifierWithDefault(TextReader, IList<ParseError>)
解析輸入字串以取得常數、識別碼或預設字面值(值為「DEFAULT」)。 如果有任何錯誤,會回傳 null。
public Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment ParseConstantOrIdentifierWithDefault(System.IO.TextReader input, out System.Collections.Generic.IList<Microsoft.SqlServer.TransactSql.ScriptDom.ParseError> errors);
member this.ParseConstantOrIdentifierWithDefault : System.IO.TextReader * IList -> Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment
Public Function ParseConstantOrIdentifierWithDefault (input As TextReader, ByRef errors As IList(Of ParseError)) As TSqlFragment
參數
- input
- TextReader
輸入。
- errors
- IList<ParseError>
錯誤的集合。