Show / Hide Table of Contents

Struct AllocationMethod

Allocation method.

Namespace: System.Dynamic.ExpandoObject
Assembly: Azure.ResourceManager.ScVmm.dll
Syntax
public struct AllocationMethod : IEquatable<Azure.ResourceManager.ScVmm.Models.AllocationMethod>

Constructors

AllocationMethod(String)

Initializes a new instance of AllocationMethod.

Declaration
public AllocationMethod (string value);
Parameters
System.String value

Exceptions
System.ArgumentNullException

value is null.

Properties

Dynamic

Dynamic.

Declaration
public static Azure.ResourceManager.ScVmm.Models.AllocationMethod Dynamic { get; }
Property Value
AllocationMethod

Static

Static.

Declaration
public static Azure.ResourceManager.ScVmm.Models.AllocationMethod Static { get; }
Property Value
AllocationMethod

Methods

Equals(AllocationMethod)

Indicates whether the current object is equal to another object of the same type.

Declaration
public bool Equals (Azure.ResourceManager.ScVmm.Models.AllocationMethod other);
Parameters
AllocationMethod other

An object to compare with this object.

Returns
System.Boolean

true if the current object is equal to the other parameter; otherwise, false.

Equals(Object)

Indicates whether this instance and a specified object are equal.

Declaration
[System.ComponentModel.EditorBrowsable]
public override bool Equals (object obj);
Parameters
System.Object obj

The object to compare with the current instance.

Returns
System.Boolean

true if obj and this instance are the same type and represent the same value; otherwise, false.

GetHashCode()

Returns the hash code for this instance.

Declaration
[System.ComponentModel.EditorBrowsable]
public override int GetHashCode ();
Returns
System.Int32

A 32-bit signed integer that is the hash code for this instance.

ToString()

Returns the fully qualified type name of this instance.

Declaration
public override string ToString ();
Returns
System.String

The fully qualified type name.

Operators

Equality(AllocationMethod, AllocationMethod)

Determines if two AllocationMethod values are the same.

Declaration
public static bool operator == (Azure.ResourceManager.ScVmm.Models.AllocationMethod left, Azure.ResourceManager.ScVmm.Models.AllocationMethod right);
Parameters
AllocationMethod left

AllocationMethod right

Returns
System.Boolean

Implicit(String to AllocationMethod)

Converts a string to a AllocationMethod.

Declaration
public static implicit operator Azure.ResourceManager.ScVmm.Models.AllocationMethod (string value);
Parameters
System.String value

Returns
AllocationMethod

Inequality(AllocationMethod, AllocationMethod)

Determines if two AllocationMethod values are not the same.

Declaration
public static bool operator != (Azure.ResourceManager.ScVmm.Models.AllocationMethod left, Azure.ResourceManager.ScVmm.Models.AllocationMethod right);
Parameters
AllocationMethod left

AllocationMethod right

Returns
System.Boolean

Back to top Azure SDK for .NET