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


IGeneralMultiPatchInfo.MaterialCount Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Geometry)  

IGeneralMultiPatchInfo.MaterialCount Property

Get Material Count.

[Visual Basic .NET]
Public ReadOnly Property MaterialCount As Integer
[C#]
public int MaterialCount {get;}
[C++]
HRESULT get_MaterialCount(
  long* pCount
);
[C++]

Parameters pCount [out, retval] pCount is a parameter of type long

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

Returns the total number of Geometry Materials in the MultiPatch. This value is identical with the IGeometryMaterialList.Count property of the list passed to IGeneralMultiPatchCreator.Init() when constructing the MultiPatch.

See Also

IGeneralMultiPatchInfo Interface

.NET Related Topics

3DAnalyst