ObjectProxyExtensionsHasFeature Method

Returns if the object has a template or is a template, with the matching feature technical name

Definition

Namespace: Articy.Api
Assembly: ArticyApp (in ArticyApp.dll) Version: 1.0.0
C#
public static bool HasFeature(
	this ObjectProxy aObject,
	string aFeatureName
)

Parameters

aObject  ObjectProxy
Target Proxy (Can be a template or an object with a template)
aFeatureName  String
Feature Technical name

Return Value

Boolean
true if it has that feature, false otherwise

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ObjectProxy. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

See Also