ESRI.ArcGIS.ADF.IMS
ShapeWorkspace Constructor(String,String)
See Also  Send Feedback
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 New 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.

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.