ESRI.ArcGIS.ADF.IMS
Add Method
See Also 
ESRI.ArcGIS.ADF.IMS.Geometry Namespace > RingCollection Class : Add Method




r
Ring to be added to the collection.
Adss a Ring to the collection.

Syntax

Visual Basic (Declaration) 
Public Sub Add( _
   ByVal r As Ring _
) 
Visual Basic (Usage)Copy Code
Dim instance As RingCollection
Dim r As Ring
 
instance.Add(r)
C# 
public void Add( 
   Ring r
)

Parameters

r
Ring to be added to the collection.

Return Value

At least one Ring must be added to a Polygon before the Polygon is used in a map or query. This ArcXML error will be returned if no rings have been added: "AXLParser: No OBJECT tags found in LAYER."

Remarks

For an example, see Polygon.

See Also

© 2010 All Rights Reserved.