ESRI.ArcGIS.ADF.IMS
ShapeWorkspace Constructor(String,String)
See Also 
ESRI.ArcGIS.ADF.IMS.Data Namespace > ShapeWorkspace Class > ShapeWorkspace Constructor : ShapeWorkspace Constructor(String,String)




name
directory
Constructs a ShapeWorkspace object.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal name As String, _
   ByVal directory As String _
)
Visual Basic (Usage)Copy Code
Dim name As String
Dim directory As String
 
Dim instance As ShapeWorkspace(name, directory)
C# 
public ShapeWorkspace( 
   string name,
   string directory
)

Parameters

name
directory

Example

For an example of creating a ShapeWorkspace, see the ShapeWorkspace overview.

Remarks

The name of the workspace can be any string, but it must be unique among any workspaces used in the map, including workspaces in the ArcXML configuration file.

For information on the directory paramter, see the directory property.

See Also

© 2010 All Rights Reserved.