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(params Expression<Func<IPropertyValues, object>>[])
    IDataModel<IPropertyValues>.EnsureProperties(params Expression<Func<IPropertyValues, object>>[])
    IDataModel<IPropertyValues>.EnsurePropertiesAsync(params 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.this[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, bool)

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

    Declaration
    bool GetBoolean(string key, bool defaultValue)
    Parameters
    string key

    Key of the property bag entry to return

    bool defaultValue

    Default value of the property bag

    Returns
    bool

    Value of the property bag entry as boolean

    GetInteger(string, int)

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

    Declaration
    int GetInteger(string key, int defaultValue)
    Parameters
    string key

    Key of the property bag entry to return

    int defaultValue

    Default value of the property bag

    Returns
    int

    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
    string key

    Key of the property bag entry to return

    string defaultValue

    Default value of the property bag

    Returns
    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