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

IImport3DFile.IsValidFile Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > 3DAnalyst > ESRI.ArcGIS.Analyst3D > Interfaces > II > IImport3DFile Interface > IImport3DFile.IsValidFile Property
ArcGIS Developer Help

IImport3DFile.IsValidFile Property

Indicates if this is a valid 3D Import File.

[Visual Basic .NET]
Public Function get_IsValidFile ( _
    ByVal FilePath As String _
) As Boolean
public bool get_IsValidFile (
    string FilePath
HRESULT get_IsValidFile(
  BSTR FilePath,
  Boolean* pValid
FilePath [in]

FilePath is a parameter of type BSTR pValid [out, retval]
pValid is a parameter of type bool*

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires 3D Analyst Extension.


At ArcGIS 9.0, IsValidFile property only checks the import 3D model file name's extension, not the content of the file.  If it's one of *.3ds, *.flt, or *.wrl, then the property is true.  Otherwise, it's false.

See Also

IImport3DFile Interface