SourceTextChangeEventArgs.OldLength Property
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Gets the number of characters deleted from the file at the offset.
Namespace: Microsoft.Windows.Design.Documents
Assembly: Microsoft.Windows.Design.Markup (in Microsoft.Windows.Design.Markup.dll)
Syntax
'Declaration
Public ReadOnly Property OldLength As Integer
'Usage
Dim instance As SourceTextChangeEventArgs
Dim value As Integer
value = instance.OldLength
public int OldLength { get; }
public:
property int OldLength {
int get ();
}
public function get OldLength () : int
Property Value
Type: System.Int32
Remarks
This property is only meaningful if the Offset property is greater than or equal to 0.
.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.
See Also
Reference
SourceTextChangeEventArgs Class
SourceTextChangeEventArgs Members
Microsoft.Windows.Design.Documents Namespace