ProblemGet Resource Method
Gets a Resource using a Resource ID.
Definition
Namespace: VRSolver
Assembly: VRSolver (in VRSolver.dll) Version: 1.15.0+d867f7e856f281547f683ef6449a86e433a2356d
The Resource with the specified ID.
Assembly: VRSolver (in VRSolver.dll) Version: 1.15.0+d867f7e856f281547f683ef6449a86e433a2356d
C#
public Resource GetResource(
string resourceID
)VB
Public Function GetResource (
resourceID As String
) As ResourceC++
public:
Resource^ GetResource(
String^ resourceID
)F#
member GetResource :
resourceID : string -> Resource Parameters
- resourceID String
- The Resource ID to lookup.
Return Value
ResourceThe Resource with the specified ID.
Exceptions
| ArgumentNullException | ResourceID is null. |
| ArgumentException | The Resource cannot be found in the problem. |