Share via


Route.Metric Property

Optional.

Namespace: Microsoft.WindowsAzure.Management.Network.Models
Assembly: Microsoft.WindowsAzure.Management.Network (in Microsoft.WindowsAzure.Management.Network.dll)

Usage

'Usage
Dim instance As Route
Dim value As Integer

value = instance.Metric

instance.Metric = value

Syntax

'Declaration
Public Property Metric As Integer
public int Metric { get; set; }
public:
property int Metric {
    int get ();
    void set (int value);
}
/** @property */
public int get_Metric ()

/** @property */
public void set_Metric (int value)
public function get Metric () : int

public function set Metric (value : int)

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

Target Platforms

See Also

Reference

Route Class
Route Members
Microsoft.WindowsAzure.Management.Network.Models Namespace