activities
latest
false
Workflow Activities
Last updated Oct 4, 2024

GetResourceForLocalPath

Extenstion method
Note: In C#, you can call this method as an instance method on any object of type ISystemService. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

Build a resource from the local path of the file or folder.

Definition

Namespace: UiPath.Activities.System.API

Assembly: UiPath.System.Activities.Api (in UiPath.System.Activities.Api.dll)

GetResourceForLocalPath

public static IResource GetResourceForLocalPath(
	this ISystemService system,
	string path,
	PathType pathType
)public static IResource GetResourceForLocalPath(
	this ISystemService system,
	string path,
	PathType pathType
)
system ISystemService
path String
The local path of the file or folder.
pathType PathType
The type of the resource.

Return value

IResource

Returns an IResource object for a local path.

  • Definition
  • GetResourceForLocalPath
  • Return value

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2024 UiPath. All rights reserved.