ReferenceComment.TryCreate Method
- Namespace
- Kampute.DocToolkit.XmlDoc.Comments
- Assembly
- Kampute.DocToolkit.dll
Definition
Attempts to create a new instance of the ReferenceComment class from the specified XML element.
public static bool TryCreate(XElement element, [NotNullWhen(true)] out ReferenceComment comment)Parameters
elementXElement- The XML element containing the code reference and description.
commentReferenceComment- When this method returns, contains the created reference comment if successful; otherwise,
null.
