Search Results for

    Show / Hide Table of Contents

    Struct PreviewControlId

    Type safe wrapper around a preview control type id

    Inherited Members
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetType()
    Namespace: Sdl.FileTypeSupport.Framework.IntegrationApi
    Assembly: Sdl.FileTypeSupport.Framework.Core.dll
    Syntax
    public struct PreviewControlId

    Constructors

    PreviewControlId(string)

    Creates from a string id

    Declaration
    public PreviewControlId(string id)
    Parameters
    Type Name Description
    string id

    Properties

    Id

    The id for this preview type as a string

    Declaration
    public string Id { get; }
    Property Value
    Type Description
    string

    Methods

    Equals(object)

    Returns true if the objects have the same id value.

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    object obj
    Returns
    Type Description
    bool
    Overrides
    ValueType.Equals(object)

    GetHashCode()

    Returns a hash code based on the id value.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int
    Overrides
    ValueType.GetHashCode()

    ToString()

    The id as a string

    Declaration
    public override string ToString()
    Returns
    Type Description
    string
    Overrides
    ValueType.ToString()

    Operators

    operator ==(PreviewControlId, PreviewControlId)

    Returns true if the two ids have the same Id value.

    Declaration
    public static bool operator ==(PreviewControlId first, PreviewControlId second)
    Parameters
    Type Name Description
    PreviewControlId first
    PreviewControlId second
    Returns
    Type Description
    bool

    operator !=(PreviewControlId, PreviewControlId)

    Returns true if the two ids have different Id values.

    Declaration
    public static bool operator !=(PreviewControlId first, PreviewControlId second)
    Parameters
    Type Name Description
    PreviewControlId first
    PreviewControlId second
    Returns
    Type Description
    bool
    In this article
    • Constructors
      • PreviewControlId(string)
    • Properties
      • Id
    • Methods
      • Equals(object)
      • GetHashCode()
      • ToString()
    • Operators
      • operator ==(PreviewControlId, PreviewControlId)
      • operator !=(PreviewControlId, PreviewControlId)
    Back to top Generated by DocFX