This document is archived and information here might be outdated. Recommended version. |
Indicates if this is a valid 3D Import File.
[Visual Basic .NET] Public Function get_IsValidFile ( _ ByVal FilePath As String _ ) As Boolean
[C#] public bool get_IsValidFile ( string FilePath );
[C++]
HRESULT get_IsValidFile(
BSTR FilePath,
Boolean* pValid
);
[C++]
Parameters FilePath [in]
FilePath is a parameter of type BSTR pValid [out, retval]
pValid is a parameter of type bool*
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.