Click or drag to resize

ConfigurationDomainNodeExtensionMethodsIsCapable Method

Determines whether a node supports a certain capability. Capabilities correspond to interface methods that are valid to call on a node.

Namespace:  MFiles.VAF.Configuration.AdminConfigurations
Assembly:  MFiles.VAF.Configuration (in MFiles.VAF.Configuration.dll) Version: 2.1.0.1 (2.1.0.1)
Syntax
C#
public static bool IsCapable(
	this IConfigurationDomainNode node,
	ConfigurationDomainCapabilities capability
)

Parameters

node
Type: MFiles.VAF.Configuration.AdminConfigurationsIConfigurationDomainNode
The node to check for support.
capability
Type: MFiles.VAF.Configuration.DomainConfigurationDomainCapabilities
The capability to check.

Return Value

Type: Boolean
True if the node has the capability, false otherwise.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IConfigurationDomainNode. 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