PowerShellVariableReferenceAnnotation<T> Methods
RecordMethods8 members
Represents a PowerShell variable reference annotation.
public record PowerShellVariableReferenceAnnotation<T>{ public virtual PowerShellVariableReferenceAnnotation<T> <Clone>$() { // ... }}Deconstruct(string, T)Section titled Deconstruct(string, T)public record PowerShellVariableReferenceAnnotation<T>{ public void Deconstruct( out string Name, out T Value) { // ... }}Parameters
NamestringValueTDetermines whether the specified object is equal to the current object.
public record PowerShellVariableReferenceAnnotation<T>{ public override bool Equals( object? obj) { // ... }}Parameters
objobject?The object to compare with the current object.Returns
booltrue if the specified object is equal to the current object; otherwise, false.Equals(PowerShellVariableReferenceAnnotation<T>)Section titled Equals(PowerShellVariableReferenceAnnotation<T>)virtualboolIndicates whether the current object is equal to another object of the same type.
public record PowerShellVariableReferenceAnnotation<T>{ public virtual bool Equals( PowerShellVariableReferenceAnnotation<T>? other) { // ... }}Parameters
otherPowerShellVariableReferenceAnnotation<T>An object to compare with this object.Returns
booltrue if the current object is equal to the other parameter; otherwise, false.Serves as the default hash function.
public record PowerShellVariableReferenceAnnotation<T>{ public override int GetHashCode() { // ... }}Returns
intA hash code for the current object.op_Equality(PowerShellVariableReferenceAnnotation<T>, PowerShellVariableReferenceAnnotation<T>)Section titled op_Equality(PowerShellVariableReferenceAnnotation<T>, PowerShellVariableReferenceAnnotation<T>)staticboolpublic record PowerShellVariableReferenceAnnotation<T>{ public static bool operator ==( PowerShellVariableReferenceAnnotation<T>? left, PowerShellVariableReferenceAnnotation<T>? right) { // ... }}op_Inequality(PowerShellVariableReferenceAnnotation<T>, PowerShellVariableReferenceAnnotation<T>)Section titled op_Inequality(PowerShellVariableReferenceAnnotation<T>, PowerShellVariableReferenceAnnotation<T>)staticboolpublic record PowerShellVariableReferenceAnnotation<T>{ public static bool operator !=( PowerShellVariableReferenceAnnotation<T>? left, PowerShellVariableReferenceAnnotation<T>? right) { // ... }}Returns a string that represents the current object.
public record PowerShellVariableReferenceAnnotation<T>{ public override string ToString() { // ... }}Returns
stringA string that represents the current object.