Club.FollowClubAsync Method
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.
Adds the calling user as a follower of the specified club.
public Windows.Foundation.IAsyncOperation<Windows.Foundation.Collections.IVectorView<Microsoft.Xbox.Services.Clubs.ClubRole>> FollowClubAsync ();
abstract member FollowClubAsync : unit -> Windows.Foundation.IAsyncOperation<Windows.Foundation.Collections.IVectorView<Microsoft.Xbox.Services.Clubs.ClubRole>>
override this.FollowClubAsync : unit -> Windows.Foundation.IAsyncOperation<Windows.Foundation.Collections.IVectorView<Microsoft.Xbox.Services.Clubs.ClubRole>>
Public Function FollowClubAsync () As IAsyncOperation(Of IVectorView(Of ClubRole))
Returns
An IVectorView containing the roles the calling user now has with the club.
Implements
Microsoft.Xbox.Services.Clubs.__IClubPublicNonVirtuals.FollowClubAsync
Remarks
Calls V1 POST clubroster.xboxlive.com/clubs/{clubId}/users/{userId}/roles