C# Class PayPal.AccountCollection

Inheritance: System.Configuration.ConfigurationElementCollection
显示文件 Open project: paypal/PayPal-NET-SDK

Public Methods

Method Description
Account ( int index ) : Account

Gets the PayPal.Account at the specified index.

Account ( string value ) : Account

Gets the PayPal.Account for the specified value.

this ( int index ) : Account

Index operator that looks up an PayPal.Account at the specified index.

this ( string name ) : Account

Index operator that looks up an PayPal.Account for the specified name.

Protected Methods

Method Description
CreateNewElement ( ) : ConfigurationElement

Creates a new PayPal.Account.

GetElementKey ( ConfigurationElement element ) : object

Gets the API username for the specified ConfigurationElement.

Method Details

Account() public method

Gets the PayPal.Account at the specified index.
public Account ( int index ) : Account
index int Index of the .
return Account

Account() public method

Gets the PayPal.Account for the specified value.
public Account ( string value ) : Account
value string The value of the .
return Account

CreateNewElement() protected method

Creates a new PayPal.Account.
protected CreateNewElement ( ) : ConfigurationElement
return System.Configuration.ConfigurationElement

GetElementKey() protected method

Gets the API username for the specified ConfigurationElement.
protected GetElementKey ( ConfigurationElement element ) : object
element System.Configuration.ConfigurationElement The element to be used.
return object

this() public method

Index operator that looks up an PayPal.Account at the specified index.
public this ( int index ) : Account
index int
return Account

this() public method

Index operator that looks up an PayPal.Account for the specified name.
public this ( string name ) : Account
name string
return Account