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


INAODCostMatrixResult.SaveMatrixOnPersist Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > NetworkAnalyst > ESRI.ArcGIS.NetworkAnalyst > Interfaces > IN > INAODCostMatrixResult Interface > INAODCostMatrixResult.SaveMatrixOnPersist Property
ArcGIS Developer Help

INAODCostMatrixResult.SaveMatrixOnPersist Property

Indicates if the matrix entries are to be saved.

[Visual Basic .NET]
Public Property SaveMatrixOnPersist As Boolean
[C#]
public bool SaveMatrixOnPersist {get; set;}
[C++]
HRESULT get_SaveMatrixOnPersist(
  Boolean* Value
);
[C++]
HRESULT put_SaveMatrixOnPersist(
  VARIANT_BOOL Value
);
[C++]
Parameters
Value [out, retval]

Value is a parameter of type bool* Value [in]
Value is a parameter of type bool

Product Availability

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

Remarks

When SaveMatrixOnPersist is set to True, any persistance of the NAODCostMatrixResult object will include all of the matrix entries from the most recent solve.  This is useful if, for example, you want to persist your OD Cost Matrix results to a Layer File, or to a map document.

See Also

INAODCostMatrixResult Interface