ResourceManagementClientGetResource Method (Guid, 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(
Guid id,
IEnumerable<string> attributesToGet,
CultureInfo locale
)
Public Function GetResource (
id As Guid,
attributesToGet As IEnumerable(Of String),
locale As CultureInfo
) As ResourceObject
public:
ResourceObject^ GetResource(
Guid id,
IEnumerable<String^>^ attributesToGet,
CultureInfo^ locale
)
Parameters
- id
- Type: SystemGuid
The ID of the resource to get - 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