Share via


ArmCollection.TryGetApiVersion(ResourceType, String) Method

Definition

Gets the api version override if it has been set for the current client options.

protected bool TryGetApiVersion (Azure.Core.ResourceType resourceType, out string apiVersion);
member this.TryGetApiVersion : Azure.Core.ResourceType * string -> bool
Protected Function TryGetApiVersion (resourceType As ResourceType, ByRef apiVersion As String) As Boolean

Parameters

resourceType
ResourceType

The resource type to get the version for.

apiVersion
String

The api version to variable to set.

Returns

Applies to