Grist4NET
Search Results for

    Show / Hide Table of Contents

    Class GristCellTypeHelpers

    Methods to convert cell type codes into GristCellType enums.

    Inheritance
    object
    GristCellTypeHelpers
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Grist4NET
    Assembly: Grist4NET.dll
    Syntax
    public static class GristCellTypeHelpers

    Methods

    GetWrapperEnum(string)

    Maps type codes to GristCellType members

    Declaration
    public static GristCellType GetWrapperEnum(string code)
    Parameters
    Type Name Description
    string code

    Single-letter type code

    Returns
    Type Description
    GristCellType
    See Also
    Grist API Documentation

    TryGetWrapperEnum(string?, out GristCellType?)

    Behaves the same as GetWrapperEnum(string) when length 1 string is provided

    Declaration
    public static bool TryGetWrapperEnum(string? code, out GristCellType? type)
    Parameters
    Type Name Description
    string code

    Type code

    GristCellType? type

    Set when a GristCellType can be mapped (Including Unknown)

    Returns
    Type Description
    bool

    True if length 1 string is provided, false otherwise

    See Also
    Grist API Documentation
    In this article
    Back to top Generated by DocFX