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
valuestring
Exceptions
- ArgumentNullException
valueis null.
Properties
AllowedChildren
AllowedChildren.
public static EntitySearchOption AllowedChildren { get; }
Property Value
AllowedParents
AllowedParents.
public static EntitySearchOption AllowedParents { get; }
Property Value
ChildrenOnly
ChildrenOnly.
public static EntitySearchOption ChildrenOnly { get; }
Property Value
ParentAndFirstLevelChildren
ParentAndFirstLevelChildren.
public static EntitySearchOption ParentAndFirstLevelChildren { get; }
Property Value
ParentOnly
ParentOnly.
public static EntitySearchOption ParentOnly { get; }
Property Value
Methods
Equals(EntitySearchOption)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(EntitySearchOption other)
Parameters
otherEntitySearchOptionAn object to compare with this object.
Returns
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
leftEntitySearchOptionrightEntitySearchOption
Returns
implicit operator EntitySearchOption(string)
Converts a string to a EntitySearchOption.
public static implicit operator EntitySearchOption(string value)
Parameters
valuestring
Returns
operator !=(EntitySearchOption, EntitySearchOption)
Determines if two EntitySearchOption values are not the same.
public static bool operator !=(EntitySearchOption left, EntitySearchOption right)
Parameters
leftEntitySearchOptionrightEntitySearchOption