PClExtensionIsSet 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 PCl? value,
	PCl flags
)

Parameters

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

Return Value

Boolean
Returns true, if all flags set in flags are also set in value. If value is null, false is returned.

Usage Note

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