Sandcastle XML Comments Guide
![]() | DerivedClassWithInheritedDocsMethodWithExample Method |
An override of the method with an example
Namespace: XMLCommentsExamples.DocumentationInheritance
Assembly: XMLCommentsExamples (in XMLCommentsExamples.dll) Version: 2014.1.26.0
![](SectionExpanded.png)
public override bool MethodWithExample()
Public Overrides Function MethodWithExample As Boolean
public: virtual bool MethodWithExample() override
abstract MethodWithExample : unit -> bool override MethodWithExample : unit -> bool
Return Value
Type: BooleanAlways returns false
![](SectionExpanded.png)
This example is from the base class
// 'x' is always true bool x = instance.MethodWithExample();
This example applies to the derived class:
if(derivedInstance.MethodWithExample()) Console.WriteLine("This is never reached");
![](SectionExpanded.png)