OpenTypeMethods.Length(Object) Método

Definição

Obtém o número de caracteres no objeto de cadeia de caracteres fornecido.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

Parâmetros

value
Object

A cadeia de caracteres a ser verificada.The string to be checked.

Retornos

Object

O tamanho do valor da cadeia de caracteres.The length of the string value.

Comentários

Um erro é gerado quando o fornecido value não é do tipo String .An error is raised when the supplied value is not of type String.

Aplica-se a