IXmlDocResolver.TryGetXmlDoc Method

Namespace
Kampute.DocToolkit.XmlDoc
Assembly
  • Kampute.DocToolkit.dll

Definition

Attempts to retrieves the XML documentation for the specified code reference.
bool TryGetXmlDoc(string cref, [NotNullWhen(true)] out XElement xmlDoc)

Parameters

cref string
The code reference to retrieve the documentation for.
xmlDoc XElement
When this method returns, contains the XML element representing the documentation for the code reference, if the documentation is available; otherwise, null.

Returns

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