Skip to content
Docs Try Aspire

RoleDefinition Methods

Struct Methods 7 members
Represents a role definition within an Azure resource.
public struct RoleDefinition
{
public readonly void Deconstruct(
out string Id,
out string Name)
{
// ...
}
}
Id string
Name string
Equals(object) Section titled Equals(object) override bool
Indicates whether this instance and a specified object are equal.
public struct RoleDefinition
{
public override readonly bool Equals(
object obj)
{
// ...
}
}
obj object The object to compare with the current instance.
bool true 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)
{
// ...
}
}
other RoleDefinition An object to compare with this object.
bool true if the current object is equal to the other parameter; otherwise, false.
GetHashCode Section titled GetHashCode override int
Returns the hash code for this instance.
public struct RoleDefinition
{
public override readonly int GetHashCode()
{
// ...
}
}
int A 32-bit signed integer that is the hash code for this instance.
op_Equality(RoleDefinition, RoleDefinition) Section titled op_Equality(RoleDefinition, RoleDefinition) static bool
public struct RoleDefinition
{
public static bool operator ==(
RoleDefinition left,
RoleDefinition right)
{
// ...
}
}
op_Inequality(RoleDefinition, RoleDefinition) Section titled op_Inequality(RoleDefinition, RoleDefinition) static bool
public struct RoleDefinition
{
public static bool operator !=(
RoleDefinition left,
RoleDefinition right)
{
// ...
}
}
ToString Section titled ToString override string
Returns the fully qualified type name of this instance.
public struct RoleDefinition
{
public override readonly string ToString()
{
// ...
}
}
string The fully qualified type name.