InedoSDK Reference
Version:

GitObjectId(string hash) Constructor

Initializes a new instance of the GitObjectId struct.

Syntax

public GitObjectId(string hash)

Parameters

hash
Type: string

40-digit SHA1 hash in hex format.

Exceptions

System.ArgumentNullException

hash is null (Nothing in Visual Basic).

System.FormatException

hash is not a valid 40 character hex string.