DerivedClassWithInheritedDocsMethodWithExample Method

An override of the method with an example

Definition

Namespace: XMLCommentsExamples.DocumentationInheritance
Assembly: XMLCommentsExamples (in XMLCommentsExamples.dll) Version: 2014.1.26.0
public override bool MethodWithExample()

Return Value

Boolean
Always returns false

Example

This example is from the base class
C#
// 'x' is always true
bool x = instance.MethodWithExample();

This example applies to the derived class:

C#
if(derivedInstance.MethodWithExample())
    Console.WriteLine("This is never reached");

See Also