CSharp.TryGetKeywordUrl Method

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

Definition

Attempts to get the documentation URL for a given C# keyword.
public static bool TryGetKeywordUrl(string keyword, [NotNullWhen(true)] out Uri url)

Parameters

keyword string
The C# keyword to look up.
url Uri
The documentation URL if found; otherwise, null.

Returns

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