Click or drag to resize

ObjectProxyMayAddAttachmentToStrip Method

Checks if an attachment is allowed to be added to a reference strip of the object.

Namespace:  Articy.Api
Assembly:  QueryLayer (in QueryLayer.dll) Version: 1.0.0
Syntax
C#
public bool MayAddAttachmentToStrip(
	string aPropertyName,
	ObjectProxy aAttachment
)

Parameters

aPropertyName
Type: SystemString
the name of the property of the type ObjectList
aAttachment
Type: Articy.ApiObjectProxy
the object that is to be attached at the end of the specified reference strip

Return Value

Type: Boolean
True if adding is allowed.
Remarks
The class ObjectPropertyNames contains string constants for the property names of the various articy object types.
See Also