Skip to content
DocsTry Aspire
DocsTry

RoleDefinition Methods

StructMethods7 members
Represents a role definition within an Azure resource.
public struct RoleDefinition
{
public readonly void Deconstruct(
out string Id,
out string Name)
{
// ...
}
}
Idstring
Namestring
Equals(object)Section titled Equals(object)overridebool
Indicates whether this instance and a specified object are equal.
public struct RoleDefinition
{
public override readonly bool Equals(
object obj)
{
// ...
}
}
objobjectThe object to compare with the current instance.
booltrue if obj and this instance are the same type and represent the same value; otherwise, false.
Equals(RoleDefinition)Section titled Equals(RoleDefinition)bool
Indicates whether the current object is equal to another object of the same type.
public struct RoleDefinition
{
public readonly bool Equals(
RoleDefinition other)
{
// ...
}
}
otherRoleDefinitionAn object to compare with this object.
booltrue if the current object is equal to the other parameter; otherwise, false.
GetHashCodeSection titled GetHashCodeoverrideint
Returns the hash code for this instance.
public struct RoleDefinition
{
public override readonly int GetHashCode()
{
// ...
}
}
intA 32-bit signed integer that is the hash code for this instance.
op_Equality(RoleDefinition, RoleDefinition)Section titled op_Equality(RoleDefinition, RoleDefinition)staticbool
public struct RoleDefinition
{
public static bool operator ==(
RoleDefinition left,
RoleDefinition right)
{
// ...
}
}
op_Inequality(RoleDefinition, RoleDefinition)Section titled op_Inequality(RoleDefinition, RoleDefinition)staticbool
public struct RoleDefinition
{
public static bool operator !=(
RoleDefinition left,
RoleDefinition right)
{
// ...
}
}
ToStringSection titled ToStringoverridestring
Returns the fully qualified type name of this instance.
public struct RoleDefinition
{
public override readonly string ToString()
{
// ...
}
}
stringThe fully qualified type name.