Provides access to members that serialize and deserialize data from XML.
Members
Name | Description | |
---|---|---|
AddBinary | Adds element value as an array of bytes. | |
AddBoolean | Adds element value as a boolean. | |
AddByte | Adds element value as a byte. | |
AddDate | Adds element value as a date. | |
AddDouble | Adds element value as a double. | |
AddFloat | Adds element value as a float. | |
AddInteger | Adds element value as an integer. | |
AddObject | Adds element value as an object. | |
AddShort | Adds element value as a short. | |
AddString | Adds element value as a string. | |
AddVariant | Adds element value as a variant. | |
Count | Number of XML elements. | |
Find | Finds an XML element by name. | |
GetBinary | Obtains element value as an array of bytes. | |
GetBoolean | Obtains element value as a boolean. | |
GetByte | Obtains element value as a byte. | |
GetDate | Obtains element value as a date. | |
GetDouble | Obtains element value as a double. | |
GetFlag | Obtains the value for a serialization flag. | |
GetFloat | Obtains element value as a float. | |
GetInteger | Obtains element value as an integer. | |
GetObject | Obtains element value as an object instance. | |
GetShort | Obtains element value as a short. | |
GetString | Obtains element value as a string. | |
GetVariant | Obtains element value as a variant. | |
Properties | Properties for serialization and deserialization. | |
SetFlag | Writes the value for a serialization flag. | |
TypeName | XML type of the object. | |
TypeName | XML type of the object. | |
TypeNamespaceURI | XML type namespace of the object. | |
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 |
---|