Search Results for

    Show / Hide Table of Contents

    Interface IExpandoDataModel

    Public interface to define an object extensible through a dictionary of properties

    Namespace: PnP.Core.Model
    Assembly: PnP.Core.dll
    Syntax
    public interface IExpandoDataModel

    Properties

    Count

    Gets the count of properties of the current expando type object

    Declaration
    int Count { get; }
    Property Value
    System.Int32

    Item[String]

    Gets or sets dynamic properties

    Declaration
    object this[string key] { get; set; }
    Parameters
    System.String key

    The key of the property to get or set

    Property Value
    System.Object

    The value of the property

    Values

    The dictionary of properties

    Declaration
    TransientDictionary Values { get; }
    Property Value
    TransientDictionary

    Methods

    AsDynamic()

    Transforms the current model instance into a dynamic type

    Declaration
    dynamic AsDynamic()
    Returns
    System.Object

    Dynamic version of current model instance

    Back to top PnP Core SDK
    Generated by DocFX with Material UI
    spacer