StorageCredentials.Equals Method

Windows Runtime Azure Storage Client Library

Determines whether an other StorageCredentials object is equal to this one by comparing their SAS tokens, account names, key names, and key values.

Namespace: Microsoft.WindowsAzure.Storage.Auth
Assembly: Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)

Usage

Visual Basic
Dim instance As StorageCredentials
Dim other As StorageCredentials
Dim returnValue As Boolean

returnValue = instance.Equals(other)

Syntax

Visual Basic
Public Function Equals ( _
	other As StorageCredentials _
) As Boolean
C#
public bool Equals (
	StorageCredentials other
)
C++
public:
bool Equals (
	StorageCredentials^ other
)
J#
public boolean Equals (
	StorageCredentials other
)
JScript
public function Equals (
	other : StorageCredentials
) : boolean

Parameters

other

The StorageCredentials object to compare to this one.

Return Value

true if the two StorageCredentials objects are equal; otherwise, false.

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.

Platforms

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

Target Platforms

See Also