TelExtensionIsSet 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 Tel? value,
	Tel flags
)

Parameters

value  NullableTel
The value, which is checked to see whether all flags set in flags are set on it.
flags  Tel
A single Tel value or a combination of several Tel 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 NullableTel. 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