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


IRasterBuilder2.CanBuild Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (DataSourcesRaster)  

IRasterBuilder2.CanBuild Method

Indicates whether the raster builder recognizes the specified data source and is possibly capable of building a valid function raster dataset from it.

[Visual Basic .NET]
Public Function CanBuild ( _
    ByVal vtDataSource As Object _
) As Boolean
[C#]
public bool CanBuild (
    object vtDataSource
);
[C++]
HRESULT CanBuild(
  VARIANT vtDataSource,
  VARIANT_BOOL* pbCanBuild
);
[C++]

Parameters vtDataSource [in] vtDataSource is a parameter of type VARIANT pbCanBuild [out, retval] pbCanBuild is a parameter of type VARIANT_BOOL

Product Availability

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

See Also

IRasterBuilder2 Interface