GetTokens Method (String, ErrorReporter, Int32, Boolean)
[This content is no longer valid. For the latest information on "M", "Quadrant", SQL Server Modeling Services, and the Repository, see the Model Citizen blog.]
Namespace: System.Dataflow
Assembly: System.Dataflow (in System.Dataflow.dll)
Syntax
'Declaration
PublicFunctionGetTokens ( _
fileNameAsString, _
errorReporterAsErrorReporter, _
initialStateIdAsInteger, _
lineModeAsBoolean _
) AsIEnumerator(OfList(OfParseToken))
'Usage
DiminstanceAsParserDimfileNameAsStringDimerrorReporterAsErrorReporterDiminitialStateIdAsIntegerDimlineModeAsBooleanDimreturnValueAsIEnumerator(OfList(OfParseToken))
returnValue = instance.GetTokens(fileName, _
errorReporter, initialStateId, lineMode)
publicIEnumerator<List<ParseToken>> GetTokens(
stringfileName,
ErrorReportererrorReporter,
intinitialStateId,
boollineMode
)
public:
IEnumerator<List<ParseToken^>^>^ GetTokens(
String^ fileName,
ErrorReporter^ errorReporter,
intinitialStateId,
boollineMode
)
publicfunctionGetTokens(
fileName : String,
errorReporter : ErrorReporter,
initialStateId : int,
lineMode : boolean
) : IEnumerator<List<ParseToken>>
Parameters
- fileName
Type: System. . :: . .String
- errorReporter
Type: System.Dataflow. . :: . .ErrorReporter
- initialStateId
Type: System. . :: . .Int32
- lineMode
Type: System. . :: . .Boolean
Return Value
Type: System.Collections.Generic. . :: . .IEnumerator< (Of < ( <'List< (Of < ( <'ParseToken> ) > ) >> ) > ) >
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see https://msdn.microsoft.com/en-us/library/8skskf63(v=vs.85).