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.
<pre><code class="lang-csharp">var track = (LavalinkTrack)LavalinkTrackLoadingResult.Result;</code></pre>
LoadType | Convert to |
---|---|
Track | LavalinkTrack |
Playlist | LavalinkPlaylist |
Search | List<T> of LavalinkTrack |
Empty | null |
Error | LavalinkException |
[JsonIgnore]
public object Result { get; }