GacInstalled.GetHashCode Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a hash code for the current object.
public:
override int GetHashCode();
public override int GetHashCode ();
override this.GetHashCode : unit -> int
Public Overrides Function GetHashCode () As Integer
Returns
A hash code for the current object.
Examples
The following code example shows the use of the GetHashCode method. This example is part of a larger example provided for the GacInstalled class.
Console::WriteLine( "Hashcode = {0}", myGacInstalled->GetHashCode() );
Console.WriteLine(
"Hashcode = " + myGacInstalled.GetHashCode().ToString());
Console.WriteLine( _
("Hashcode = " & myGacInstalled.GetHashCode().ToString()))
Remarks
The GetHashCode method returns 0 (zero) because GacInstalled objects have no properties to distinguish one from another.
Applies to
Werk met ons samen op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en bekijken. Raadpleeg onze gids voor inzenders voor meer informatie.