Collapse All Expand All Code: All Code: Multiple Code: C# Code: Visual Basic

C#
Visual Basic

Azuki 1.7 Documentation
Document..::..GetLineDirtyState Method
Document Class See Also Send Feedback

Gets dirty state of specified line.

Namespace: Sgry.Azuki
Assembly: Azuki (in Azuki.dll) Version: 1.7.13.40248

# Syntax

C#
    public LineDirtyState GetLineDirtyState(
    	int lineIndex
    )

Visual Basic
    Public Function GetLineDirtyState (
    	lineIndex As Integer
    ) As LineDirtyState

#### Parameters

lineIndex
  Type: System..::..Int32
  Index of the line that to get dirty state of.

#### Return Value

Type: LineDirtyState
Dirty state of the specified line.

# Remarks

This method gets dirty state of specified line. Dirty state of lines will changed as below.

- If a line was not modified yet, the dirty state of the line is LineDirtyState.Clean.
- If a line was modified, its dirty state will be changed to LineDirtyState.Dirty
- Setting false to Document.IsDirty property will set all states of modified lines to LineDirtyState.Cleaned.
- Calling Document.ClearHistory to reset all states of lines to LineDirtyState.Clean.

# See Also

Document Class
Document..::..Document Members
Sgry.Azuki Namespace
LineDirtyState enum
Document.IsDirty property
Document.ClearHistory method