DerivedClassWithInheritedDocsMethodWithExample Method
An override of the method with an example
Namespace: XMLCommentsExamples.DocumentationInheritanceAssembly: XMLCommentsExamples (in XMLCommentsExamples.dll) Version: 2014.1.26.0
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
BooleanAlways returns false
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");