Parser.Parse Method
Parses the input text and returns a script fragment.
Namespace: Microsoft.Data.Schema.ScriptDom
Assembly: Microsoft.Data.Schema.ScriptDom (in Microsoft.Data.Schema.ScriptDom.dll)
Syntax
'Declaration
Public MustOverride Function Parse ( _
input As TextReader, _
<OutAttribute> ByRef errors As IList(Of ParseError) _
) As IScriptFragment
public abstract IScriptFragment Parse(
TextReader input,
out IList<ParseError> errors
)
public:
virtual IScriptFragment^ Parse(
TextReader^ input,
[OutAttribute] IList<ParseError^>^% errors
) abstract
abstract Parse :
input:TextReader *
errors:IList<ParseError> byref -> IScriptFragment
public abstract function Parse(
input : TextReader,
errors : IList<ParseError>
) : IScriptFragment
Parameters
- input
Type: System.IO.TextReader
The text to parse.
- errors
Type: System.Collections.Generic.IList<ParseError>%
List of parsing errors.
Return Value
Type: Microsoft.Data.Schema.ScriptDom.IScriptFragment
IScriptFragment
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.