Partager via


ApiResourceLocationCollection.TryGetLocationById Method

Namespace:  Microsoft.VisualStudio.Services.WebApi
Assembly:  Microsoft.VisualStudio.Services.WebApi (in Microsoft.VisualStudio.Services.WebApi.dll)

Syntax

'Declaration
Public Function TryGetLocationById ( _
    locationId As Guid _
) As ApiResourceLocation
public ApiResourceLocation TryGetLocationById(
    Guid locationId
)
public:
ApiResourceLocation^ TryGetLocationById(
    Guid locationId
)
member TryGetLocationById : 
        locationId:Guid -> ApiResourceLocation
public function TryGetLocationById(
    locationId : Guid
) : ApiResourceLocation

Parameters

Return Value

Type: Microsoft.VisualStudio.Services.WebApi.ApiResourceLocation

.NET Framework Security

See Also

Reference

ApiResourceLocationCollection Class

Microsoft.VisualStudio.Services.WebApi Namespace