'Declaration
<ExtensionAttribute()> Public Shared Function IsSpouse( _ ByVal relationship As Relationship _ ) As Boolean
'Usage
Dim relationship As Relationship Dim value As Boolean value = RelationshipEnumExtensions.IsSpouse(relationship)
[Extension()] public static bool IsSpouse( Relationship relationship )
public function IsSpouse( relationship: Relationship ): Boolean; static;
ExtensionAttribute() public static function IsSpouse( relationship : Relationship ) : boolean;
[Extension()] public: static bool IsSpouse( Relationship relationship )
[Extension()] public: static bool IsSpouse( Relationship relationship )
Parameters
- relationship
- The relationship.