RelExtensionIsSet 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 Rel? value,
	Rel flags
)

Parameters

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