CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2004
    Posts
    6

    lease can you tell me, how exactly I can derive my custom class from XmlElement

    Hi,

    Please can you tell me, how exactly I can derive my custom class from XmlElement for addind some methods.

    I get the error:
    XmlElement is inaccessible due to its protection level.



    Thank

  2. #2
    Join Date
    Jan 2002
    Location
    Scaro, UK
    Posts
    5,940

    Re: lease can you tell me, how exactly I can derive my custom class from XmlElement

    You can't. An XmlElement is meant to be created by an XmlDocument - and only by an XmlDocument - so it's constructor is declared internal meaning you can't derive from it.

    Darwen.
    www.pinvoker.com - PInvoker - the .NET PInvoke Interface Exporter for C++ Dlls.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured