Table of Contents

Struct EntitySearchOption

Namespace
Azure.ResourceManager.ManagementGroups.Models
Assembly
Azure.ResourceManager.dll

The EntitySearchOption.

public readonly struct EntitySearchOption : IEquatable<EntitySearchOption>
Implements
Inherited Members

Constructors

EntitySearchOption(string)

Initializes a new instance of EntitySearchOption.

public EntitySearchOption(string value)

Parameters

value string

Exceptions

ArgumentNullException

value is null.

Properties

AllowedChildren

AllowedChildren.

public static EntitySearchOption AllowedChildren { get; }

Property Value

EntitySearchOption

AllowedParents

AllowedParents.

public static EntitySearchOption AllowedParents { get; }

Property Value

EntitySearchOption

ChildrenOnly

ChildrenOnly.

public static EntitySearchOption ChildrenOnly { get; }

Property Value

EntitySearchOption

ParentAndFirstLevelChildren

ParentAndFirstLevelChildren.

public static EntitySearchOption ParentAndFirstLevelChildren { get; }

Property Value

EntitySearchOption

ParentOnly

ParentOnly.

public static EntitySearchOption ParentOnly { get; }

Property Value

EntitySearchOption

Methods

Equals(EntitySearchOption)

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

public bool Equals(EntitySearchOption other)

Parameters

other EntitySearchOption

An object to compare with this object.

Returns

bool

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

ToString()

Returns the fully qualified type name of this instance.

public override string ToString()

Returns

string

The fully qualified type name.

Operators

operator ==(EntitySearchOption, EntitySearchOption)

Determines if two EntitySearchOption values are the same.

public static bool operator ==(EntitySearchOption left, EntitySearchOption right)

Parameters

left EntitySearchOption
right EntitySearchOption

Returns

bool

implicit operator EntitySearchOption(string)

Converts a string to a EntitySearchOption.

public static implicit operator EntitySearchOption(string value)

Parameters

value string

Returns

EntitySearchOption

operator !=(EntitySearchOption, EntitySearchOption)

Determines if two EntitySearchOption values are not the same.

public static bool operator !=(EntitySearchOption left, EntitySearchOption right)

Parameters

left EntitySearchOption
right EntitySearchOption

Returns

bool