This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > SpatialAnalyst > ESRI.ArcGIS.SpatialAnalyst > Interfaces > IG > IGPSANeighborhood2 Interface > IGPSANeighborhood2.SetWeightFile Method (ArcObjects .NET 10.4 SDK) |
Sets a weight neighborhood by a file.
[Visual Basic .NET] Public Sub SetWeightFile ( _ ByVal fileName As String _ )
[C#] public void SetWeightFile ( string fileName );
[C++]
HRESULT SetWeightFile(
BSTR fileName
);
[C++]
Parameters fileName [in] fileName is a parameter of type BSTR