Share via


BuildEventContext.GetHashCode Method

Gets a code comprised of the ProjectContextId and the NodeId.

MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.

Namespace:  Microsoft.Build.Framework
Assembly:  Microsoft.Build.Framework (in Microsoft.Build.Framework.dll)

Syntax

'Declaration
Public Overrides Function GetHashCode As Integer
public override int GetHashCode()
public:
virtual int GetHashCode() override
abstract GetHashCode : unit -> int  
override GetHashCode : unit -> int
public override function GetHashCode() : int

Return Value

Type: System.Int32
An integer value representing the hash code.

.NET Framework Security

See Also

Reference

BuildEventContext Class

Microsoft.Build.Framework Namespace