AssignableTypeComparer.GetHashCode Method

This element is introduced in Windows PowerShell 5.0.

Namespace: Microsoft.OneGet.Utility.Plugin
Assembly: Microsoft.OneGet.Utility (in Microsoft.OneGet.Utility.dll)

Usage

'Usage
Dim instance As AssignableTypeComparer
Dim obj As Type
Dim returnValue As Integer

returnValue = instance.GetHashCode(obj)

Syntax

'Declaration
Public Function GetHashCode ( _
    obj As Type _
) As Integer
public int GetHashCode (
    Type obj
)
public:
virtual int GetHashCode (
    Type^ obj
) sealed
public final int GetHashCode (
    Type obj
)
public final function GetHashCode (
    obj : Type
) : int

Parameters

  • obj

Return Value

Returns Int32.

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

Target Platforms

See Also

Reference

AssignableTypeComparer Class
AssignableTypeComparer Members
Microsoft.OneGet.Utility.Plugin Namespace