| DiscussionsExtensionsRefreshAsync(IEnumerablePost, PostQueryOptions) Method |
This is preliminary documentation and is subject to change.
Refreshes the post content from the server.
Namespace: WikiClientLibrary.Wikia.DiscussionsAssembly: WikiClientLibrary.Wikia (in WikiClientLibrary.Wikia.dll) Version: 0.9.0-int.2+447d1d590e6726b7881f750a0a0e42908f3e417e
Syntax public static Task RefreshAsync(
this IEnumerable<Post> posts,
PostQueryOptions options
)
<ExtensionAttribute>
Public Shared Function RefreshAsync (
posts As IEnumerable(Of Post),
options As PostQueryOptions
) As Task
Dim posts As IEnumerable(Of Post)
Dim options As PostQueryOptions
Dim returnValue As Task
returnValue = posts.RefreshAsync(options)
public:
[ExtensionAttribute]
static Task^ RefreshAsync(
IEnumerable<Post^>^ posts,
PostQueryOptions options
)
[<ExtensionAttribute>]
static member RefreshAsync :
posts : IEnumerable<Post> *
options : PostQueryOptions -> Task
Parameters
- posts IEnumerablePost
- The posts to be refreshed.
- options PostQueryOptions
- The options used to fetch the post.
Return Value
TaskUsage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IEnumerablePost. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
Remarks
This method will not fetch replies for the
posts.
Replies will remain unchanged after the invocation.
See Also