IProgrammingLanguage.TryGetUrl Method

Namespace
Kampute.DocToolkit.Languages
Assembly
  • Kampute.DocToolkit.dll

Definition

Attempts to retrieve the official documentation URL for the specified language keyword.
bool TryGetUrl(string keyword, [NotNullWhen(true)] out Uri url)

Parameters

keyword string
The language keyword to look up.
url Uri
When this method returns, contains the URL of the keyword documentation, if the keyword is found; otherwise, null. This parameter is passed uninitialized.

Returns

bool
true if the keyword is found; otherwise, false.