Search Results for

    Show / Hide Table of Contents

    Interface IPropertyValues

    Public interface to define a PropertyValues object

    Inherited Members
    IDataModel<IPropertyValues>.Requested
    IDataModel<IPropertyValues>.HasValue(String)
    IDataModel<IPropertyValues>.HasChanged(String)
    IDataModel<IPropertyValues>.IsPropertyAvailable(Expression<Func<IPropertyValues, Object>>)
    IDataModel<IPropertyValues>.ArePropertiesAvailable(Expression<Func<IPropertyValues, Object>>[])
    IDataModel<IPropertyValues>.EnsureProperties(Expression<Func<IPropertyValues, Object>>[])
    IDataModel<IPropertyValues>.EnsurePropertiesAsync(Expression<Func<IPropertyValues, Object>>[])
    IDataModel<IPropertyValues>.ExecuteRequestAsync(ApiRequest)
    IDataModel<IPropertyValues>.ExecuteRequest(ApiRequest)
    IDataModel<IPropertyValues>.ExecuteRequestBatchAsync(ApiRequest)
    IDataModel<IPropertyValues>.ExecuteRequestBatch(ApiRequest)
    IDataModel<IPropertyValues>.ExecuteRequestBatchAsync(Batch, ApiRequest)
    IDataModel<IPropertyValues>.ExecuteRequestBatch(Batch, ApiRequest)
    IDataModelParent.Parent
    IDataModelWithContext.PnPContext
    IExpandoDataModel.Item[String]
    IExpandoDataModel.Values
    IExpandoDataModel.Count
    IExpandoDataModel.AsDynamic()
    Namespace: PnP.Core.Model.SharePoint
    Assembly: PnP.Core.dll
    Syntax
    public interface IPropertyValues : IDataModel<IPropertyValues>, IDataModelParent, IDataModelWithContext, ISupportModules<IPropertyValues>, IExpandoDataModel

    Methods

    GetBoolean(String, Boolean)

    Get boolean typed property bag value. If does not contain, returns given default value.

    Declaration
    bool GetBoolean(string key, bool defaultValue)
    Parameters
    System.String key

    Key of the property bag entry to return

    System.Boolean defaultValue

    Default value of the property bag

    Returns
    System.Boolean

    Value of the property bag entry as boolean

    GetInteger(String, Int32)

    Get int typed property bag value. If does not contain, returns given default value.

    Declaration
    int GetInteger(string key, int defaultValue)
    Parameters
    System.String key

    Key of the property bag entry to return

    System.Int32 defaultValue

    Default value of the property bag

    Returns
    System.Int32

    Value of the property bag entry as int

    GetString(String, String)

    Get string typed property bag value. If does not contain, returns given default value.

    Declaration
    string GetString(string key, string defaultValue)
    Parameters
    System.String key

    Key of the property bag entry to return

    System.String defaultValue

    Default value of the property bag

    Returns
    System.String

    Value of the property bag entry as string

    Update()

    Update the property bag

    Declaration
    void Update()

    UpdateAsync()

    Update the property bag

    Declaration
    Task UpdateAsync()
    Returns
    Task

    Extension Methods

    RequestModuleExtensions.WithHeaders<TModel>(ISupportModules<TModel>, Dictionary<String, String>, Action<Dictionary<String, String>>)
    RequestModuleExtensions.WithResponseHeaders<TModel>(ISupportModules<TModel>, Action<Dictionary<String, String>>)
    Back to top PnP Core SDK
    Generated by DocFX with Material UI
    spacer