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


IDataLayer2.DataSourceSupported Property (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Carto)  

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,
  VARIANT_BOOL* supported
);
[C++]

Parameters Name [in]
Name is a parameter of type IName supported [out, retval] supported is a parameter of type VARIANT_BOOL

Product Availability

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

See Also

IDataLayer2 Interface