UrlShortenerClientShorten(String) Method
Shortens the specified Url.
Namespace: DevCase.ThirdParty.Google.UrlShortenerAssembly: DevCase.net48.ThirdParty.GoogleServices (in DevCase.net48.ThirdParty.GoogleServices.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public string Shorten(
string url
)
Public Function Shorten (
url As String
) As String
Dim instance As UrlShortenerClient
Dim url As String
Dim returnValue As String
returnValue = instance.Shorten(url)
public:
String^ Shorten(
String^ url
)
member Shorten :
url : string -> string
No code example is currently available or this language may not be supported.
- url String
-
The source Url to shorten.
String
The resulting shortened Url.
This is a code example.
No code example is currently available or this language may not be supported.
Dim client As New UrlShortenerClient("YOUR API KEY")
Dim authSuccess As Boolean = client.Authorize()
Dim sourceUrl As String = "https://msdn.microsoft.com/"
Dim shortenedUrl As String = client.Shorten(sourceUrl)
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.