Interface IMessageMentionsCollectionRequest
The interface IMessageMentionsCollectionRequest.
Inherited Members
Namespace: Microsoft.Graph
Assembly: Microsoft.Graph.CoreSDK.dll
Syntax
public interface IMessageMentionsCollectionRequest : IBaseRequest
Methods
View SourceAddAsync(Mention)
Adds the specified Mention to the collection via POST.
Declaration
Task<Mention> AddAsync(Mention Mention)
Parameters
Type | Name | Description |
---|---|---|
Mention | Mention | The Mention to add. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<Mention> | The created Mention. |
AddAsync(Mention, CancellationToken)
Adds the specified Mention to the collection via POST.
Declaration
Task<Mention> AddAsync(Mention Mention, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
Mention | Mention | The Mention to add. |
System.Threading.CancellationToken | cancellationToken | The System.Threading.CancellationToken for the request. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<Mention> | The created Mention. |
Expand(Expression<Func<Mention, Object>>)
Adds the specified expand value to the request.
Declaration
IMessageMentionsCollectionRequest Expand(Expression<Func<Mention, object>> expandExpression)
Parameters
Type | Name | Description |
---|---|---|
System.Linq.Expressions.Expression<System.Func<Mention, System.Object>> | expandExpression | The expression from which to calculate the expand value. |
Returns
Type | Description |
---|---|
IMessageMentionsCollectionRequest | The request object to send. |
Expand(String)
Adds the specified expand value to the request.
Declaration
IMessageMentionsCollectionRequest Expand(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value | The expand value. |
Returns
Type | Description |
---|---|
IMessageMentionsCollectionRequest | The request object to send. |
Filter(String)
Adds the specified filter value to the request.
Declaration
IMessageMentionsCollectionRequest Filter(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value | The filter value. |
Returns
Type | Description |
---|---|
IMessageMentionsCollectionRequest | The request object to send. |
GetAsync()
Gets the collection page.
Declaration
Task<IMessageMentionsCollectionPage> GetAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<IMessageMentionsCollectionPage> | The collection page. |
GetAsync(CancellationToken)
Gets the collection page.
Declaration
Task<IMessageMentionsCollectionPage> GetAsync(CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
System.Threading.CancellationToken | cancellationToken | The System.Threading.CancellationToken for the request. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<IMessageMentionsCollectionPage> | The collection page. |
OrderBy(String)
Adds the specified orderby value to the request.
Declaration
IMessageMentionsCollectionRequest OrderBy(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value | The orderby value. |
Returns
Type | Description |
---|---|
IMessageMentionsCollectionRequest | The request object to send. |
Select(Expression<Func<Mention, Object>>)
Adds the specified select value to the request.
Declaration
IMessageMentionsCollectionRequest Select(Expression<Func<Mention, object>> selectExpression)
Parameters
Type | Name | Description |
---|---|---|
System.Linq.Expressions.Expression<System.Func<Mention, System.Object>> | selectExpression | The expression from which to calculate the select value. |
Returns
Type | Description |
---|---|
IMessageMentionsCollectionRequest | The request object to send. |
Select(String)
Adds the specified select value to the request.
Declaration
IMessageMentionsCollectionRequest Select(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value | The select value. |
Returns
Type | Description |
---|---|
IMessageMentionsCollectionRequest | The request object to send. |
Skip(Int32)
Adds the specified skip value to the request.
Declaration
IMessageMentionsCollectionRequest Skip(int value)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | value | The skip value. |
Returns
Type | Description |
---|---|
IMessageMentionsCollectionRequest | The request object to send. |
Top(Int32)
Adds the specified top value to the request.
Declaration
IMessageMentionsCollectionRequest Top(int value)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | value | The top value. |
Returns
Type | Description |
---|---|
IMessageMentionsCollectionRequest | The request object to send. |