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
- locationId
Type: System.Guid
Return Value
Type: Microsoft.VisualStudio.Services.WebApi.ApiResourceLocation
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.