Retrieves the number of characters contained in this string.
[Visual Basic] Public ReadOnly Property Length As Integer [C#] public int Length {get;} [C++] public: __property int get_Length(); [JScript] public function get Length() : int;
Read-only.
The Length property uses get to retrieve a specified number of characters in this string. This property returns the number of characters contained in this string.