示例#1
0
 public void Remove(SapConnectionConfigElement sapConnection)
 {
     if (BaseIndexOf(sapConnection) >= 0)
     {
         BaseRemove(sapConnection.Name);
         // Your custom code goes here.
         Console.WriteLine("SapConnectionsCollection: {0}", "Removed collection element!");
     }
 }
示例#2
0
 public void Add(SapConnectionConfigElement sapConnection)
 {
     BaseAdd(sapConnection);
     // Your custom code goes here.
 }
示例#3
0
 public int IndexOf(SapConnectionConfigElement sapConnection)
 {
     return(BaseIndexOf(sapConnection));
 }
示例#4
0
        // Create a new instance of the SapConnectionsSection.
        // This constructor creates a configuration element
        // using the SapConnectionConfigElement default values.
        // It assigns this element to the collection.
        public SapConnectionsSection()
        {
            SapConnectionConfigElement connection = new SapConnectionConfigElement();

            SapConnections.Add(connection);
        }