IXMLSerializeData Interface

Provides access to members that serialize and deserialize data from XML.

Members

Name Description
Method AddBinary Adds element value as an array of bytes.
Method AddBoolean Adds element value as a boolean.
Method AddByte Adds element value as a byte.
Method AddDate Adds element value as a date.
Method AddDouble Adds element value as a double.
Method AddFloat Adds element value as a float.
Method AddInteger Adds element value as an integer.
Method AddObject Adds element value as an object.
Method AddShort Adds element value as a short.
Method AddString Adds element value as a string.
Method AddVariant Adds element value as a variant.
Read-only property Count Number of XML elements.
Method Find Finds an XML element by name.
Method GetBinary Obtains element value as an array of bytes.
Method GetBoolean Obtains element value as a boolean.
Method GetByte Obtains element value as a byte.
Method GetDate Obtains element value as a date.
Method GetDouble Obtains element value as a double.
Method GetFlag Obtains the value for a serialization flag.
Method GetFloat Obtains element value as a float.
Method GetInteger Obtains element value as an integer.
Method GetObject Obtains element value as an object instance.
Method GetShort Obtains element value as a short.
Method GetString Obtains element value as a string.
Method GetVariant Obtains element value as a variant.
Read/write property Properties Properties for serialization and deserialization.
Method SetFlag Writes the value for a serialization flag.
Read-only property TypeName XML type of the object.
Write-only property TypeName XML type of the object.
Read-only property TypeNamespaceURI XML type namespace of the object.
Write-only property TypeNamespaceURI XML type namespace of the object.

IXMLSerializeData.AddBinary Method

Adds element value as an array of bytes.

Public Sub AddBinary ( _
    ByVal Name As String, _
    ByRef Value As Byte[]& _
)
public void AddBinary (
    string Name,
    ref Byte[]& Value
);

IXMLSerializeData.AddBoolean Method

Adds element value as a boolean.

Public Sub AddBoolean ( _
    ByVal Name As String, _
    ByVal Value As Boolean _
)
public void AddBoolean (
    string Name,
    bool Value
);

IXMLSerializeData.AddByte Method

Adds element value as a byte.

Public Sub AddByte ( _
    ByVal Name As String, _
    ByVal Value As Byte _
)
public void AddByte (
    string Name,
    byte Value
);

IXMLSerializeData.AddDate Method

Adds element value as a date.

Public Sub AddDate ( _
    ByVal Name As String, _
    ByVal Value As DateTime _
)
public void AddDate (
    string Name,
    DateTime Value
);

IXMLSerializeData.AddDouble Method

Adds element value as a double.

Public Sub AddDouble ( _
    ByVal Name As String, _
    ByVal Value As Double _
)
public void AddDouble (
    string Name,
    double Value
);

IXMLSerializeData.AddFloat Method

Adds element value as a float.

Public Sub AddFloat ( _
    ByVal Name As String, _
    ByVal Value As Single _
)
public void AddFloat (
    string Name,
    float Value
);

IXMLSerializeData.AddInteger Method

Adds element value as an integer.

Public Sub AddInteger ( _
    ByVal Name As String, _
    ByVal Value As Integer _
)
public void AddInteger (
    string Name,
    int Value
);

IXMLSerializeData.AddObject Method

Adds element value as an object.

Public Sub AddObject ( _
    ByVal Name As String, _
    ByVal Value As Object _
)
public void AddObject (
    string Name,
    object Value
);

IXMLSerializeData.AddShort Method

Adds element value as a short.

Public Sub AddShort ( _
    ByVal Name As String, _
    ByVal Value As Short _
)
public void AddShort (
    string Name,
    short Value
);

IXMLSerializeData.AddString Method

Adds element value as a string.

Public Sub AddString ( _
    ByVal Name As String, _
    ByVal Value As String _
)
public void AddString (
    string Name,
    string Value
);

IXMLSerializeData.AddVariant Method

Adds element value as a variant.

Public Sub AddVariant ( _
    ByVal Name As String, _
    ByVal Value As Object _
)
public void AddVariant (
    string Name,
    object Value
);

IXMLSerializeData.Count Property

Number of XML elements.

Public ReadOnly Property Count As Integer
public int Count {get;}

IXMLSerializeData.Find Method

Finds an XML element by name.

Public Function Find ( _
    ByVal Name As String _
) As Integer
public int Find (
    string Name
);

IXMLSerializeData.GetBinary Method

Obtains element value as an array of bytes.

Public Function GetBinary ( _
    ByVal Index As Integer _
) As Byte[]
public Byte[] GetBinary (
    int Index
);

IXMLSerializeData.GetBoolean Method

Obtains element value as a boolean.

Public Function GetBoolean ( _
    ByVal Index As Integer _
) As Boolean
public bool GetBoolean (
    int Index
);

IXMLSerializeData.GetByte Method

Obtains element value as a byte.

Public Function GetByte ( _
    ByVal Index As Integer _
) As Byte
public byte GetByte (
    int Index
);

IXMLSerializeData.GetDate Method

Obtains element value as a date.

Public Function GetDate ( _
    ByVal Index As Integer _
) As DateTime
public DateTime GetDate (
    int Index
);

IXMLSerializeData.GetDouble Method

Obtains element value as a double.

Public Function GetDouble ( _
    ByVal Index As Integer _
) As Double
public double GetDouble (
    int Index
);

IXMLSerializeData.GetFlag Method

Obtains the value for a serialization flag.

Public Function GetFlag ( _
    ByVal Name As String _
) As Boolean
public bool GetFlag (
    string Name
);

IXMLSerializeData.GetFloat Method

Obtains element value as a float.

Public Function GetFloat ( _
    ByVal Index As Integer _
) As Single
public float GetFloat (
    int Index
);

IXMLSerializeData.GetInteger Method

Obtains element value as an integer.

Public Function GetInteger ( _
    ByVal Index As Integer _
) As Integer
public int GetInteger (
    int Index
);

IXMLSerializeData.GetObject Method

Obtains element value as an object instance.

Public Function GetObject ( _
    ByVal Index As Integer, _
    ByVal typeNamespace As String, _
    ByVal TypeName As String _
) As Object
public object GetObject (
    int Index,
    string typeNamespace,
    string TypeName
);

IXMLSerializeData.GetShort Method

Obtains element value as a short.

Public Function GetShort ( _
    ByVal Index As Integer _
) As Short
public short GetShort (
    int Index
);

IXMLSerializeData.GetString Method

Obtains element value as a string.

Public Function GetString ( _
    ByVal Index As Integer _
) As String
public string GetString (
    int Index
);

IXMLSerializeData.GetVariant Method

Obtains element value as a variant.

Public Function GetVariant ( _
    ByVal Index As Integer _
) As Object
public object GetVariant (
    int Index
);

IXMLSerializeData.Properties Property

Properties for serialization and deserialization.

Public Property Properties As IPropertySet
public IPropertySet Properties {get; set;}

IXMLSerializeData.SetFlag Method

Writes the value for a serialization flag.

Public Sub SetFlag ( _
    ByVal Name As String, _
    ByVal FlagValue As Boolean _
)
public void SetFlag (
    string Name,
    bool FlagValue
);

IXMLSerializeData.TypeName Property

XML type of the object.

Public Property TypeName As String
public string TypeName {get; set;}

IXMLSerializeData.TypeName Property

XML type of the object.

Public Property TypeName As String
public string TypeName {get; set;}

IXMLSerializeData.TypeNamespaceURI Property

XML type namespace of the object.

Public Property TypeNamespaceURI As String
public string TypeNamespaceURI {get; set;}

IXMLSerializeData.TypeNamespaceURI Property

XML type namespace of the object.

Public Property TypeNamespaceURI As String
public string TypeNamespaceURI {get; set;}

Classes that implement IXMLSerializeData

Classes Description

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.