AddressCollection Structure
Wraps the host.Addresses list.
Namespace: Microsoft.Owin.BuilderProperties
Assembly: Microsoft.Owin (in Microsoft.Owin.dll)
Syntax
'Declaration
Public Structure AddressCollection _
Implements IEnumerable(Of Address), IEnumerable
'Usage
Dim instance As AddressCollection
public struct AddressCollection : IEnumerable<Address>,
IEnumerable
public value class AddressCollection : IEnumerable<Address>,
IEnumerable
[<SealedAttribute>]
type AddressCollection =
struct
interface IEnumerable<Address>
interface IEnumerable
end
JScript suports the use of structures, but not the declaration of new ones.
The AddressCollection type exposes the following members.
Constructors
Name | Description | |
---|---|---|
AddressCollection | Initializes a new instance of the AddressCollection class. |
Top
Properties
Name | Description | |
---|---|---|
Count | Gets the number of elements in the collection. | |
Item | Gets the item with the specified index from the collection. | |
List | Gets the underlying address list. |
Top
Methods
Name | Description | |
---|---|---|
Add | Adds the specified address to the collection. | |
Create | Creates a new instance of AddressCollection with empty list. | |
Equals(Object) | Determines whether the current collection is equal to the specified object. (Overrides ValueType.Equals(Object).) | |
Equals(AddressCollection) | Determines whether the current collection is equal to the specified collection. | |
GetEnumerator | Gets the enumerator that iterates through the collection. | |
GetHashCode | Gets the hash code for this instance. (Overrides ValueType.GetHashCode().) | |
GetType | (Inherited from Object.) | |
ToString | (Inherited from ValueType.) |
Top
Operators
Name | Description | |
---|---|---|
Equality | Determines whether the first collection is equal to the second collection. | |
Inequality | Determines whether the first collection is not equal to the second collection. |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
IEnumerable.GetEnumerator | Gets the enumerator that iterates through the collection. |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.