Errors extending System.Xml.XmlNode

Posted on 2003-03-03
Medium Priority
Last Modified: 2011-10-03
When I extend System.Xml.XmlNode I get the following error messages.

Any Ideas??

public class myNode : System.Xml.XmlNode {
'myNode' does not implement inherited abstract member 'System.Xml.XmlNode.CloneNode(bool)'
'myNode' does not implement inherited abstract member 'System.Xml.XmlNode.LocalName.get'
'myNode' does not implement inherited abstract member 'System.Xml.XmlNode.Name.get'
'myNode' does not implement inherited abstract member 'System.Xml.XmlNode.NodeType.get'
'myNode' does not implement inherited abstract member 'System.Xml.XmlNode.WriteContentTo(System.Xml.XmlWriter)'
'myNode' does not implement inherited abstract member 'System.Xml.XmlNode.WriteTo(System.Xml.XmlWriter)'
Question by:kolobcreek
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Accepted Solution

Nebulus_ earned 225 total points
ID: 8063018
System.Xml.XmlNode is an abstract class.
If you want to extend this you must implement all abstract methods. Even if you put nothing in function but you must implement all abstract methods.


public override System.Xml.XmlNode CloneNode(bool boolVar) {
  return null;

Author Comment

ID: 8082833
Still having trouble overiding variabls ie.

does not implement inherited abstract member 'System.Xml.XmlNode.Name.get'

Expert Comment

ID: 21040143
It's asking you to provide the "Name" property.
       public override string Name
                return "The Name";

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction Hi all and welcome to my first article on Experts Exchange. A while ago, someone asked me if i could do some tutorials on object oriented programming. I decided to do them on C#. Now you may ask me, why's that? Well, one of the re…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Suggested Courses
Course of the Month13 days, 8 hours left to enroll

801 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question