Creates a new document property.

Namespace:  InfigoSDK
Assembly:  InfigoSDK (in InfigoSDK.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public IInfigoProperty CreateDocumentProperty(
	string strName,
	InfigoPropertyType type
)
Visual Basic (Declaration)
Public Function CreateDocumentProperty ( _
	strName As String, _
	type As InfigoPropertyType _
) As IInfigoProperty
Visual C++
public:
IInfigoProperty^ CreateDocumentProperty(
	String^ strName, 
	InfigoPropertyType type
)

Parameters

strName
Type: System..::.String
The name of the new property. If the name is in use already or is invalid (only alphanummeric characters are allowed), no property will be created.
type
Type: InfigoSDK..::.InfigoPropertyType
The property type, see InfigoPropertyType for a list of all possible types.

Return Value

Returns the new property on success. If the name does exist already, it will return null.

See Also