Address Structure

Contains parts of an address and the complete address.

Namespace:  Microsoft.Owin.BuilderProperties
Assembly:  Microsoft.Owin (in Microsoft.Owin.dll)

Syntax

'Declaration
Public Structure Address
'Usage
Dim instance As Address
public struct Address
public value class Address
[<SealedAttribute>]
type Address =  struct end
JScript suports the use of structures, but not the declaration of new ones.

The Address type exposes the following members.

Constructors

  Name Description
Public method Address(IDictionary<String, Object>) Initializes a new instance of the Address class.
Public method Address(String, String, String, String) Initializes a new instance of the Address class.

Top

Properties

  Name Description
Public property Dictionary Gets the internal dictionary for this collection.
Public property Host Gets or sets the host for the builder.
Public property Path Gets or sets the string that describes the path.
Public property Port Gets or sets the port number of the address.
Public property Scheme Gets or sets the scheme name for this address.

Top

Methods

  Name Description
Public methodStatic member Create Creates a new Address.
Public method Equals(Object) Determines whether the specified object is equal to the current object. (Overrides ValueType.Equals(Object).)
Public method Equals(Address) Determines whether the specified object is equal to the current object.
Public method Get<T> Gets the list of keys in the Address.
Public method GetHashCode Returns the hash code for this instance. (Overrides ValueType.GetHashCode().)
Public method GetType (Inherited from Object.)
Public method Set Sets the Address with the specified key and value.
Public method ToString (Inherited from ValueType.)

Top

Operators

  Name Description
Public operatorStatic member Equality Determines whether two specified instances of Address are equal.
Public operatorStatic member Inequality Determines whether two specified instance of Address are not equal.

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.

See Also

Reference

Microsoft.Owin.BuilderProperties Namespace