XmlDocRepository.TryGetXmlDoc Method

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

Definition

Attempts to retrieves the XML documentation element for the specified code reference.
public virtual 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 XElement that represents the documentation for the code reference, if the documentation is available; otherwise, null. This parameter is passed uninitialized.

Returns

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