This document is archived and information here might be outdated.  Recommended version.


IDataLayer2.DataSourceSupported Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > ID > IDataLayer2 Interface > IDataLayer2.DataSourceSupported Property
ArcGIS Developer Help

IDataLayer2.DataSourceSupported Property

Indicates if the specified data object name is supported by the layer.

[Visual Basic .NET]
Public Function get_DataSourceSupported ( _
    ByVal Name As IName _
) As Boolean
[C#]
public bool get_DataSourceSupported (
    IName Name
);
[C++]
HRESULT get_DataSourceSupported(
  IName* Name,
  Boolean* supported
);
[C++]
Parameters
Name [in]

Name is a parameter of type IName* supported [out, retval]
supported is a parameter of type bool*

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

IDataLayer2 Interface