ResourceManagementClientGetResource Method (String, IEnumerableString, CultureInfo) |
Gets a resource from the resource management service, retrieving only a specified set of attributes for the resource
Namespace:
Lithnet.ResourceManagement.Client
Assembly:
Lithnet.ResourceManagement.Client (in Lithnet.ResourceManagement.Client.dll) Version: 1.0.6435.24467
Syntaxpublic ResourceObject GetResource(
string id,
IEnumerable<string> attributesToGet,
CultureInfo locale
)
Public Function GetResource (
id As String,
attributesToGet As IEnumerable(Of String),
locale As CultureInfo
) As ResourceObject
public:
ResourceObject^ GetResource(
String^ id,
IEnumerable<String^>^ attributesToGet,
CultureInfo^ locale
)
Parameters
- id
- Type: SystemString
The ID of the resource to get as a GUID in string format - attributesToGet
- Type: System.Collections.GenericIEnumerableString
The list of attributes to retrieve - locale
- Type: System.GlobalizationCultureInfo
The culture to use to request a localized version of the object
Return Value
Type:
ResourceObjectThe resource represented by the specified ID
See Also