ResourceURI.FromURI(uri)
Returns a C# object of the
ResourceURI
type, with the URIType
type pf URI
and that contains an absolute path to a generic resource.
Arguments
-
uri
(string) - An absolute path of a generic resource, usually a network path or a website address.
Returns
ResourceURI
- A C# object that contains the path indicated in the argument.
Example
Below is an example in which the API returns a C # website object of the ResourceURI type that contains the
https://www.rockwellautomation.com/
URL.
var website = ResourceURI.FromURI("https://www.rockwellautomation.com/");