This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IM > IMSDHelper Interface > IMSDHelper.IsLayerValid Method (ArcObjects .NET 10.4 SDK) |
Given the layer's catalog path, returns a boolean indicating if it is valid.
[Visual Basic .NET] Public Function IsLayerValid ( _ ByVal layerPath As String _ ) As Boolean
[C#] public bool IsLayerValid ( string layerPath );
[C++]
HRESULT IsLayerValid(
BSTR layerPath,
VARIANT_BOOL* layerValid
);
[C++]
Parameters layerPath [in] layerPath is a parameter of type BSTR layerValid [out, retval] layerValid is a parameter of type VARIANT_BOOL