ESRI.ArcGIS.ADF.IMS
Add Method
See Also  Send Feedback
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.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2011 All Rights Reserved.