Namespace: CodeSmith.Engine
Assembly: CodeSmith.Engine (in CodeSmith.Engine.dll) Version: 6.0.0.0 (7.0.0.15127)

Syntax

C#
public static int LineCount(
	string text,
	int offset,
	int newOffset
)
Visual Basic
Public Shared Function LineCount ( 
	text As String,
	offset As Integer,
	newOffset As Integer
) As Integer

Parameters

text
Type: System..::..String
offset
Type: System..::..Int32
newOffset
Type: System..::..Int32

Return Value

Type: Int32

See Also