Table of Contents

Method UseLocation

Namespace
Velvet
Assembly
Velvet.Docs.dll

UseLocation()

Returns the current router location. Reads Location; returns null until the router publishes its first location.

public static RouterLocation? UseLocation()

Returns

RouterLocation

Exceptions

InvalidOperationException

No V.RouterProvider is mounted above the caller.