Click or drag to resize
ApiInformationIsApiContractPresent Method (String, UInt16, UInt16)
Combined library for Pontoon, 32feet and InTheHand.Forms
Returns true or false to indicate whether the API contract with the specified name and major and minor version number is present.

Namespace:  InTheHand.Foundation.Metadata
Assembly:  InTheHand (in InTheHand.dll) Version: 10.0.0.0 (10.2017.04.06)
Syntax
public static bool IsApiContractPresent(
	string contractName,
	ushort majorVersion,
	ushort minorVersion
)

Parameters

contractName
Type: SystemString
The name of the API contract.
majorVersion
Type: SystemUInt16
The major version number of the API contract.
minorVersion
Type: SystemUInt16
The minor version number of the API contract.

Return Value

Type: Boolean
True if the specified API contract is present; otherwise, false.
See Also