FieldInterfaceExtensionsIsRequired Method |
Gets whether or not the field's
Required attribute is set allowing for the
IField object being null.
Namespace:
NetQuarry.Data
Assembly:
EAP.Mapper (in EAP.Mapper.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax public static bool IsRequired(
this IField fld
)
<ExtensionAttribute>
Public Shared Function IsRequired (
fld As IField
) As Boolean
Parameters
- fld
- Type: NetQuarry.DataIField
The IField object, possibly null.
Return Value
Type:
BooleanTrue if the field is not null and is marked required.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IField. 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