Responder Developer Guide
HasValue<TProp> Method (FaultLocationsObject)


Version: 10.2.1a

Resource Center Home

Returns bool if the property has been populated
Syntax
'Declaration
 
Public Function HasValue(Of TProp)( _
   ByVal expression As Expression(Of Func(Of FaultLocationsObject,TProp)) _
) As Boolean
'Usage
 
Dim instance As FaultLocationsObject
Dim expression As Expression(Of Func(Of FaultLocationsObject,TProp))
Dim value As Boolean
 
value = instance.HasValue(Of TProp)(expression)

Parameters

expression

Type Parameters

TProp

Return Value

True if the value of the property is not empty or null
Remarks
use as follows: var object = new FaultLocationsObject(row); bool hasValue = object.HasValue(o=>o.Property);
Requirements

Target Platforms: Windows XP SP3 (32-bit and 64-bit), Windows 7 (32-bit and 64-bit)

Not all Operating Systems are supported on all products. Visit the ArcFM Solution Supported Versions page for full details.

See Also

Reference

FaultLocationsObject Class
FaultLocationsObject Members

 

 


Send Comment