ITextSnapshot::Item Property (Int32)

 

Gets one character at the specified position.

Namespace:   Microsoft.VisualStudio.Text
Assembly:  Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)

property wchar_t default[
	int position
] {
	wchar_t get(int position);
}

Parameters

position
Type: System::Int32

The position of the character.

Property Value

Type: System::Char

The character at position.

Exception Condition
ArgumentOutOfRangeException

position is less than zero, or greater than or equal to the length of the snapshot.

Return to top
Show: