Comment Interface
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.
Represents a cell comment.
public interface class Comment
[System.Runtime.InteropServices.Guid("00024427-0000-0000-C000-000000000046")]
[System.Runtime.InteropServices.InterfaceType(2)]
public interface Comment
Public Interface Comment
- Attributes
Remarks
The Comment object is a member of the Comments collection.
Use the Comment property to return a Comment object.
Use Comments(index
), where index
is the comment number, to return a single comment from the Comments collection.
Use the AddComment(Object) method to add a comment to a range.
Properties
Application |
Returns an Application object that represents the Microsoft Excel application. |
Author |
Returns or sets the author of the comment. |
Creator |
Returns a 32-bit integer that indicates the application in which this object was created. |
Parent |
Returns the parent object for the specified object. |
Shape |
Returns a Shape object that represents the shape attached to the specified comment. |
Visible |
Determines whether the object is visible. |
Methods
Delete() |
Deletes the object. |
Next() |
Returns a Comment object that represents the next comment. |
Previous() |
Returns a Comment object that represents the previous comment. |
Text(Object, Object, Object) |
Sets comment text. |
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應