VcfOptsExtensionIsSet Method

Checks whether all flags set in flags are also set in value.

Definition

Namespace: FolkerKinzel.VCards.Extensions
Assembly: FolkerKinzel.VCards (in FolkerKinzel.VCards.dll) Version: 8.0.1+a91cc3f0fd39aeb548e16006a60ca9dd10a304a2
C#
public static bool IsSet(
	this VcfOpts value,
	VcfOpts flags
)

Parameters

value  VcfOpts
The value, which is checked to see whether all flags set in flags are set on it.
flags  VcfOpts
A single VcfOpts value or a combination of several VcfOpts values.

Return Value

Boolean
Returns true, if all flags set in flags are also set in value. If value is null, false is returned. (If flags is None, true is only returned if value is also None. The same applies to All.)

Usage Note

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