CAS.Lib.CodeProtect Namespace
CAS.Lib.CodeProtect.LicenseDsc Namespace
CAS.Lib.CodeProtect.LicenseDsc.Constraints Namespace
CAS.Lib.CodeProtect.Properties Namespace
OOI CodeProtect

LicenseFile..::..GetCustomFieldValue Method

Returns the value for an item set in the CustomData that matches the entered key. If the CustomData has not yet been set then a null exception will be thrown. Also if the passed in String is empty an argument exception is thrown.

Namespace:  CAS.Lib.CodeProtect.LicenseDsc
Assembly:  CAS.CodeProtect (in CAS.CodeProtect.dll)

Syntax


public string GetCustomFieldValue(
	string key
)
Public Function GetCustomFieldValue ( _
	key As String _
) As String
public:
String^ GetCustomFieldValue(
	String^ key
)

Parameters

key
Type: String

Exceptions


ExceptionCondition
ArgumentNullException Thrown if the CustomData object has no records.
ArgumentException Thrown if the input value is an empty String.