Edit

Share via


OpenTypeMethods.Length(Object) Method

Definition

Gets the number of characters in the supplied string object.

public:
 static System::Object ^ Length(System::Object ^ value);
public static object Length (object value);
static member Length : obj -> obj
Public Shared Function Length (value As Object) As Object

Parameters

value
Object

The string to be checked.

Returns

The length of the string value.

Remarks

An error is raised when the supplied value is not of type String.

Applies to