Language

StringEnum Class

Definition

Base type for string-backed value objects used by Teams schemas.

[System.Text.Json.Serialization.JsonConverter(typeof(Microsoft.Teams.Apps.Utils.StringEnumJsonConverter<Microsoft.Teams.Apps.Utils.StringEnum>))]
public class StringEnum : IEquatable<Microsoft.Teams.Apps.Utils.StringEnum>
[<System.Text.Json.Serialization.JsonConverter(typeof(Microsoft.Teams.Apps.Utils.StringEnumJsonConverter<Microsoft.Teams.Apps.Utils.StringEnum>))>]
type StringEnum = class
    interface IEquatable<StringEnum>
Public Class StringEnum
Implements IEquatable(Of StringEnum)
Inheritance
StringEnum
Derived
Attributes
Implements

Constructors

Name Description
StringEnum(String)

Base type for string-backed value objects used by Teams schemas.

Properties

Name Description
Value

Gets the string value.

Methods

Name Description
Equals(Object)

Determines whether the specified object is equal to the current object.

Equals(StringEnum)

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

GetHashCode()

Serves as the default hash function.

ToString()

Returns a string that represents the current object.

Operators

Name Description
Equality(StringEnum, StringEnum)
Implicit(StringEnum to String)

Converts the string-enum value to its underlying string.

Inequality(StringEnum, StringEnum)

Applies to