What I was going for was an output 'similar' to a DataSet
<DataSet> - Collection
<Table1> - Collection Objects
<Field1 /> - Object properties
<Field2 />
</Table1>
</DataSet>
And you provided the solution: XmlType
When I applied the XmlType (without the XmlElement on the indexer) it all...
Actually, I tried something else.
Just a very simplified test (which didn't work)
If you don't mind, post your code that worked.
I'm sure it's something simple I'm not seeing...
I tried this (and several variations)
[Serializable(), XmlRoot("ThisRoot")]
public class Class3 ...
I think this is what you've requested (And then some):
/// <summary>
/// Collection object for TBL_ASSET
/// </summary>
[Serializable(), XmlRoot("ASSETS")]
public class AssetCollection : DataObjectCollection
{
/// <summary>
/// Select command that will...
The XmlRoot attribute only works on the root object.
If the Asset object is serialized by itself - ok.
The AssetCollection however; is the root object. So the XmlRoot attribute is ignored.
The XmlElementAttribute can not be declared on a class.
Error: Attribute XmlElement is not valid on this declaration type. It is only valid on 'property, indexer, field, param, return' declarations.
(I have tried the element attribute on the indexer of the AssetCollection and it didn't work)...
Have a collection to serialize.
No problems.
Problem:
How do you define the name of the objects in the collection?
Collection defined with <XmlRootAttribute> (OK)
Objects contained in the collection, I cannot define.
[Serializable(), XmlRoot("ASSETS")]
public class AssetCollection ...
The change did not work. Sorry.
Currently, if I dial 8887, I go to the TOD and the calls are correctly directed (business, off hours and holiday) all controls, services, and messages setup and tested.
(Prior to change- because 8887 was ncfw to mail,
after change- because it still goes to mail...
I need to put a TOD control on our Voice Mail System
Opt11 C version 2121 release 3
The system currently uses ACDN 6299 for Messaging Services
I have set up a TOD control on ACDN 8887 with business times for the 6299 and off hours as well as holiday announcements
I need incoming calls routed...
Here are the results:
First, I was trying from a phone that for some reason could not access the trunk using the access code. Which may lead to the issue with the mermail.
Any way,
I didn't get route 0 from rdb print out when I printed without specifying the route, but I was able to get the...
Sorry for the delay- busy.
As soon as i figure out how to get the acod for that I'll give it a go (bars/nars was not my forte- just user administration)
Thanks again for all the replies.
I'll post what did or didn't work.
I would like to have the revert dn for a mailbox go to an external number.
I have created a phantom and an acd that forwards to the external number. Directly dialing the two dns forwards w/ no issues
However; when trying to use the dns as a revert for mer mail-
Calling an extension that uses...
I'm no expert, but here's something to think about:
Public Class Class1
Private thisVariable As Object ''' Internal Object
''' Public Access = ReadOnly
Public ReadOnly Property PublicAccessable() As Object
Get
Return thisVariable
End Get
End...
Sorry
I have an app that performs data replications from db2 to oracle.
There is a base class that handles the connections, queries and data updates.
Each data replication relies on this base class to perform the work by only supplying the connection strings and sql
They work fine from...
I have several objects that inherit from a single base class declared Must Inherit with no shared or static members. However; when multiple descendant objects exist they all share the same properties (being what ever they were set to by the lastly created object inheriting form the base).
How...
The Best fix i've found for the sockaddr_in structure is
<StructLayout(LayoutKind.Sequential, CharSet:=CharSet.Ansi, Size:=16)> _
Public Structure sockaddr_in
<FieldOffset(0)> Public sin_family As System.Int16
Public sin_port As System.UInt16
Public sin_addr As...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.