ArcGIS Runtime SDK for WPF - Library Reference
CreateShapefileFolderConnection Method
See Also 
ESRI.ArcGIS.Client.Local Namespace > WorkspaceInfo Class : CreateShapefileFolderConnection Method

workspaceID
A System.String representing a unique identifier for this workspace.
pathToFolder
A System.String representing the path to the folder.
Creates a WorkspaceInfo object of WorkspaceFactoryType Shapefile based on the provided unique identifier and path to a folder on disk.

Syntax

Visual Basic (Declaration) 
Public Shared Function CreateShapefileFolderConnection( _
   ByVal workspaceID As String, _
   ByVal pathToFolder As String _
) As WorkspaceInfo
C# 
public static WorkspaceInfo CreateShapefileFolderConnection( 
   string workspaceID,
   string pathToFolder
)

Parameters

workspaceID
A System.String representing a unique identifier for this workspace.
pathToFolder
A System.String representing the path to the folder.

Return Value

A WorkspaceInfo of WorkspaceFactoryType Shapefile.

Requirements

Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7, Windows 8

See Also

© ESRI, Inc. All Rights Reserved.