Modifica

Condividi tramite


Range.Characters[Object, Object] Property

Definition

Returns a Characters object that represents a range of characters within the object text.

public:
 property Microsoft::Office::Interop::Excel::Characters ^ Characters[System::Object ^, System::Object ^] { Microsoft::Office::Interop::Excel::Characters ^ get(System::Object ^ Start, System::Object ^ Length); };
public Microsoft.Office.Interop.Excel.Characters Characters[object Start, object Length] { get; }
Public ReadOnly Property Characters(Optional Start As Object, Optional Length As Object) As Characters

Parameters

Start
Object

Optional Object. The first character to be returned. If this argument is either 1 or omitted, this property returns a range of characters starting with the first character.

Length
Object

Optional Object. The number of characters to be returned. If this argument is omitted, this property returns the remainder of the string (everything after the Start character).

Property Value

Remarks

You can use the Characters object to format characters within a text string.

The Characters object isn't a collection.

For the TextFrame object, Characters(Object, Object) is a method.

Applies to