CSharp.TryGetUrl Method

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

Definition

Attempts to retrieves the URL to the official documentation for a specified C# keyword.
public virtual bool TryGetUrl(string keyword, [NotNullWhen(true)] out Uri url)

Parameters

keyword string
The C# 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.