Click here to Skip to main content
15,919,749 members
Home / Discussions / C#
   

C#

 
GeneralRe: Cannot derive from LinkedListNode Pin
hairy_hats11-Jan-11 3:18
hairy_hats11-Jan-11 3:18 
GeneralRe: Cannot derive from LinkedListNode Pin
_Erik_11-Jan-11 3:44
_Erik_11-Jan-11 3:44 
GeneralRe: Cannot derive from LinkedListNode Pin
Luc Pattyn11-Jan-11 3:59
sitebuilderLuc Pattyn11-Jan-11 3:59 
GeneralRe: Cannot derive from LinkedListNode Pin
hairy_hats11-Jan-11 5:18
hairy_hats11-Jan-11 5:18 
GeneralRe: Cannot derive from LinkedListNode Pin
PIEBALDconsult11-Jan-11 8:07
mvePIEBALDconsult11-Jan-11 8:07 
GeneralRe: Cannot derive from LinkedListNode Pin
Luc Pattyn11-Jan-11 9:40
sitebuilderLuc Pattyn11-Jan-11 9:40 
GeneralRe: Cannot derive from LinkedListNode Pin
hairy_hats12-Jan-11 4:39
hairy_hats12-Jan-11 4:39 
GeneralRe: Cannot derive from LinkedListNode Pin
PIEBALDconsult11-Jan-11 8:02
mvePIEBALDconsult11-Jan-11 8:02 
Questionwindows service Pin
arkiboys11-Jan-11 1:16
arkiboys11-Jan-11 1:16 
AnswerRe: windows service Pin
Pete O'Hanlon11-Jan-11 1:41
mvePete O'Hanlon11-Jan-11 1:41 
GeneralRe: windows service Pin
arkiboys11-Jan-11 1:59
arkiboys11-Jan-11 1:59 
AnswerRe: windows service Pin
Mirko198011-Jan-11 1:57
Mirko198011-Jan-11 1:57 
GeneralRe: windows service Pin
arkiboys11-Jan-11 2:04
arkiboys11-Jan-11 2:04 
GeneralRe: windows service Pin
Mirko198011-Jan-11 2:13
Mirko198011-Jan-11 2:13 
GeneralRe: windows service Pin
arkiboys11-Jan-11 2:40
arkiboys11-Jan-11 2:40 
GeneralRe: windows service Pin
Mirko198011-Jan-11 3:19
Mirko198011-Jan-11 3:19 
GeneralRe: windows service Pin
arkiboys11-Jan-11 3:32
arkiboys11-Jan-11 3:32 
GeneralRe: windows service Pin
arkiboys11-Jan-11 4:59
arkiboys11-Jan-11 4:59 
GeneralRe: windows service Pin
Mirko198011-Jan-11 5:32
Mirko198011-Jan-11 5:32 
GeneralRe: windows service Pin
arkiboys11-Jan-11 6:09
arkiboys11-Jan-11 6:09 
GeneralRe: windows service Pin
Mirko198011-Jan-11 6:58
Mirko198011-Jan-11 6:58 
GeneralRe: windows service Pin
arkiboys14-Jan-11 3:23
arkiboys14-Jan-11 3:23 
QuestionWindows Service Screenshot & Remote Control -> WIN 7 and 2008R2 Pin
Neo5432111-Jan-11 0:29
Neo5432111-Jan-11 0:29 
QuestionXML Deserialization Pin
NarVish10-Jan-11 23:09
NarVish10-Jan-11 23:09 
AnswerRe: XML Deserialization PinPopular
Estys10-Jan-11 23:31
Estys10-Jan-11 23:31 
"Name" is not a simple type.
Create a class like this :
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)]
public partial class CourseInfoName {
    
    private string typeField;
    
    private string valueField;
    
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string type {
        get {
            return this.typeField;
        }
        set {
            this.typeField = value;
        }
    }
    
    [System.Xml.Serialization.XmlTextAttribute()]
    public string Value {
        get {
            return this.valueField;
        }
        set {
            this.valueField = value;
        }
    }
}


In you original class replace m_name and Name by

private CourseInfoName nameField;

[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, IsNullable=true)]
public CourseInfoName Name {
    get {
        return this.nameField;
    }
    set {
        this.nameField = value;
    }
}


Cheers
If you can read this, you don't have Papyrus installed

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.