DerivedClassWithInheritedDocs.MethodWithExample Method

Sandcastle XML Comments

Sandcastle XML Comments GuideDerivedClassWithInheritedDocsMethodWithExample Method
An override of the method with an example

Namespace: XMLCommentsExamples.DocumentationInheritance
Assembly: XMLCommentsExamples (in XMLCommentsExamples.dll) Version: 2014.1.26.0
Syntax
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: Boolean
Always returns false
Examples
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");

See Also