Range.Characters[Object, Object] Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應