Click or drag to resize

ConfigurationDomainNodeExtensionMethodsAssertCapable Method

Throws an exception if a node does not support a certain capability.

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 void AssertCapable(
	this IConfigurationDomainNode node,
	ConfigurationDomainCapabilities capability
)

Parameters

node
Type: MFiles.VAF.Configuration.AdminConfigurationsIConfigurationDomainNode
The node expected to support.
capability
Type: MFiles.VAF.Configuration.DomainConfigurationDomainCapabilities
The flag or flags of the capabilities the node is expected to support.

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