ESRI.ArcGIS.ADF.Local
Valid Property
See Also  Send Feedback
ESRI.ArcGIS.ADF.BaseClasses Namespace > BaseDynamicLayer Class : Valid Property




Indicates if the layer is currently valid.

Syntax

Visual Basic (Declaration) 
Public Overridable ReadOnly Property Valid As Boolean
Visual Basic (Usage)Copy Code
Dim instance As BaseDynamicLayer
Dim value As Boolean
 
value = instance.Valid
C# 
public virtual bool Valid {get;}

Remarks

The valid property indicates if the layer is currently valid. Layers that reference feature classes are valid when they hold a reference to a valid feature class. The property does not however validate the integrity of the feature classes reference to the database. Therefore, in rare situations if a datasource is removed after a layer is initialized, the layer will report itself as valid but query attempts to the data source will error due to the lack of underlying data.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2011 All Rights Reserved.