Search Results for

    Show / Hide Table of Contents

    Interface IComment

    Public interface to define a comment.

    Inherited Members
    IDataModel<IComment>.Requested
    IDataModel<IComment>.HasValue(String)
    IDataModel<IComment>.HasChanged(String)
    IDataModel<IComment>.IsPropertyAvailable(Expression<Func<IComment, Object>>)
    IDataModel<IComment>.ArePropertiesAvailable(Expression<Func<IComment, Object>>[])
    IDataModel<IComment>.EnsureProperties(Expression<Func<IComment, Object>>[])
    IDataModel<IComment>.EnsurePropertiesAsync(Expression<Func<IComment, Object>>[])
    IDataModel<IComment>.ExecuteRequestAsync(ApiRequest)
    IDataModel<IComment>.ExecuteRequest(ApiRequest)
    IDataModel<IComment>.ExecuteRequestBatchAsync(ApiRequest)
    IDataModel<IComment>.ExecuteRequestBatch(ApiRequest)
    IDataModel<IComment>.ExecuteRequestBatchAsync(Batch, ApiRequest)
    IDataModel<IComment>.ExecuteRequestBatch(Batch, ApiRequest)
    IDataModelParent.Parent
    IDataModelWithContext.PnPContext
    IDataModelGet<IComment>.GetBatchAsync(Batch, Expression<Func<IComment, Object>>[])
    IDataModelGet<IComment>.GetAsync(Expression<Func<IComment, Object>>[])
    IDataModelLoad<IComment>.LoadBatchAsync(Batch, Expression<Func<IComment, Object>>[])
    IDataModelLoad<IComment>.LoadAsync(Expression<Func<IComment, Object>>[])
    IDataModelDelete.DeleteBatchAsync()
    IDataModelDelete.DeleteBatchAsync(Batch)
    IDataModelDelete.DeleteAsync()
    IDataModelDelete.DeleteBatch()
    IDataModelDelete.DeleteBatch(Batch)
    IDataModelDelete.Delete()
    Namespace: PnP.Core.Model.SharePoint
    Assembly: PnP.Core.dll
    Syntax
    public interface IComment : IDataModel<IComment>, IDataModelParent, IDataModelWithContext, ISupportModules<IComment>, IDataModelGet<IComment>, IDataModelLoad<IComment>, IDataModelDelete, IQueryableDataModel

    Properties

    All

    A special property used to add an asterisk to a $select statement

    Declaration
    object All { get; }
    Property Value
    System.Object

    Author

    Comment author.

    Declaration
    ISharePointSharingPrincipal Author { get; }
    Property Value
    ISharePointSharingPrincipal

    CreatedDate

    Comment creation date.

    Declaration
    DateTime CreatedDate { get; }
    Property Value
    DateTime

    Id

    Comment id.

    Declaration
    string Id { get; }
    Property Value
    System.String

    IsLikedByUser

    Flag that indicates whether the user in the current context liked the comment.

    Declaration
    bool IsLikedByUser { get; }
    Property Value
    System.Boolean

    IsReply

    Comment is a reply to another comment.

    Declaration
    bool IsReply { get; }
    Property Value
    System.Boolean

    ItemId

    Comment item id.

    Declaration
    int ItemId { get; }
    Property Value
    System.Int32

    LikeCount

    Number of likes for the comment.

    Declaration
    int LikeCount { get; }
    Property Value
    System.Int32

    LikedBy

    List of users who have liked the comment. Implements .
    See Requesting model collections and IQueryable performance considerations to learn more.

    Declaration
    ICommentLikeUserEntityCollection LikedBy { get; }
    Property Value
    ICommentLikeUserEntityCollection

    ListId

    Comment list id.

    Declaration
    Guid ListId { get; }
    Property Value
    Guid

    Mentions

    List of users who are at mentioned in this comment. Implements .
    See Requesting model collections and IQueryable performance considerations to learn more.

    Declaration
    ICommentLikeUserEntityCollection Mentions { get; }
    Property Value
    ICommentLikeUserEntityCollection

    ParentId

    Comment parent ID (0 if not a reply).

    Declaration
    string ParentId { get; }
    Property Value
    System.String

    RelativeCreatedDate

    Gets a string that represents the relative value of the comment's creation date.

    Declaration
    string RelativeCreatedDate { get; }
    Property Value
    System.String

    Replies

    Replies to the comment.

    Declaration
    ICommentCollection Replies { get; }
    Property Value
    ICommentCollection

    ReplyCount

    Number of replies to the comment.

    Declaration
    int ReplyCount { get; }
    Property Value
    System.Int32

    Text

    Comment text.

    Declaration
    string Text { get; set; }
    Property Value
    System.String

    Methods

    Like()

    Likes the comment for the user in the current context.

    Declaration
    void Like()

    LikeAsync()

    Likes the comment for the user in the current context.

    Declaration
    Task LikeAsync()
    Returns
    Task

    Unlike()

    Unlikes the comment for the user in the current context.

    Declaration
    void Unlike()

    UnlikeAsync()

    Unlikes the comment for the user in the current context.

    Declaration
    Task UnlikeAsync()
    Returns
    Task

    Extension Methods

    DataModelGetExtensions.GetBatchAsync<TModel>(IDataModelGet<TModel>, Expression<Func<TModel, Object>>[])
    DataModelGetExtensions.GetBatchAsync<TModel>(IDataModelGet<TModel>, Batch, Expression<Func<TModel, Object>>[])
    DataModelGetExtensions.GetBatch<TModel>(IDataModelGet<TModel>, Batch, Expression<Func<TModel, Object>>[])
    DataModelGetExtensions.GetBatch<TModel>(IDataModelGet<TModel>, Expression<Func<TModel, Object>>[])
    DataModelGetExtensions.Get<TModel>(IDataModelGet<TModel>, Expression<Func<TModel, Object>>[])
    DataModelLoadExtensions.LoadBatchAsync<TModel>(IDataModelLoad<TModel>, Expression<Func<TModel, Object>>[])
    DataModelLoadExtensions.LoadBatchAsync<TModel>(IDataModelLoad<TModel>, Batch, Expression<Func<TModel, Object>>[])
    DataModelLoadExtensions.LoadBatch<TModel>(IDataModelLoad<TModel>, Batch, Expression<Func<TModel, Object>>[])
    DataModelLoadExtensions.LoadBatch<TModel>(IDataModelLoad<TModel>, Expression<Func<TModel, Object>>[])
    DataModelLoadExtensions.Load<TModel>(IDataModelLoad<TModel>, Expression<Func<TModel, Object>>[])
    DataModelLoadExtensions.QueryProperties<TModel>(IDataModelLoad<TModel>, Expression<Func<TModel, Object>>[])
    RequestModuleExtensions.WithHeaders<TModel>(ISupportModules<TModel>, Dictionary<String, String>, Action<Dictionary<String, String>>)
    RequestModuleExtensions.WithResponseHeaders<TModel>(ISupportModules<TModel>, Action<Dictionary<String, String>>)
    Back to top PnP Core SDK
    Generated by DocFX with Material UI
    spacer