API reference
Property Result
- Namespace
- DisCatSharp.Lavalink.Entities
- Assembly
- DisCatSharp.Lavalink.dll
Result
Gets the load result.
You need to convert the object to the corresponding type based on LoadType.
var track = (LavalinkTrack)LavalinkTrackLoadingResult.Result;
| LoadType | Convert to |
|---|---|
| Track | LavalinkTrack |
| Playlist | LavalinkPlaylist |
| Search | List<T> of LavalinkTrack |
| Empty | null |
| Error | LavalinkException |
[JsonIgnore]
public object Result { get; }