XmlDocProvider.TryGetElement Method

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

Definition

Attempts to retrieves the XML documentation element for the specified code reference.
protected virtual bool TryGetElement(string cref, [NotNullWhen(true)] out XElement xmlement)

Parameters

cref string
The code reference to retrieve the documentation for.
xmlement 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.