AdrExtensionIsSet 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 Adr? value,
	Adr flags
)

Parameters

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