ArcObjects Library Reference (NetworkAnalyst)  

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(
  VARIANT_BOOL* Value
);
[C++]
HRESULT put_SaveMatrixOnPersist(
  VARIANT_BOOL Value
);
[C++]

Parameters

Value [out, retval]   Value is a parameter of type VARIANT_BOOL Value [in]   Value is a parameter of type VARIANT_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