Search Results for

    Show / Hide Table of Contents

    Interface ITimeZone

    Public interface to define a TimeZone object

    Inherited Members
    IDataModel<ITimeZone>.Requested
    IDataModel<ITimeZone>.HasValue(String)
    IDataModel<ITimeZone>.HasChanged(String)
    IDataModel<ITimeZone>.IsPropertyAvailable(Expression<Func<ITimeZone, Object>>)
    IDataModel<ITimeZone>.ArePropertiesAvailable(Expression<Func<ITimeZone, Object>>[])
    IDataModel<ITimeZone>.EnsureProperties(Expression<Func<ITimeZone, Object>>[])
    IDataModel<ITimeZone>.EnsurePropertiesAsync(Expression<Func<ITimeZone, Object>>[])
    IDataModel<ITimeZone>.ExecuteRequestAsync(ApiRequest)
    IDataModel<ITimeZone>.ExecuteRequest(ApiRequest)
    IDataModel<ITimeZone>.ExecuteRequestBatchAsync(ApiRequest)
    IDataModel<ITimeZone>.ExecuteRequestBatch(ApiRequest)
    IDataModel<ITimeZone>.ExecuteRequestBatchAsync(Batch, ApiRequest)
    IDataModel<ITimeZone>.ExecuteRequestBatch(Batch, ApiRequest)
    IDataModelParent.Parent
    IDataModelWithContext.PnPContext
    IDataModelGet<ITimeZone>.GetBatchAsync(Batch, Expression<Func<ITimeZone, Object>>[])
    IDataModelGet<ITimeZone>.GetAsync(Expression<Func<ITimeZone, Object>>[])
    IDataModelLoad<ITimeZone>.LoadBatchAsync(Batch, Expression<Func<ITimeZone, Object>>[])
    IDataModelLoad<ITimeZone>.LoadAsync(Expression<Func<ITimeZone, Object>>[])
    Namespace: PnP.Core.Model.SharePoint
    Assembly: PnP.Core.dll
    Syntax
    public interface ITimeZone : IDataModel<ITimeZone>, IDataModelParent, IDataModelWithContext, ISupportModules<ITimeZone>, IDataModelGet<ITimeZone>, IDataModelLoad<ITimeZone>, IQueryableDataModel

    Properties

    All

    A special property used to add an asterisk to a $select statement

    Declaration
    object All { get; }
    Property Value
    System.Object

    Bias

    Bias (additional minutes to get to UTC time) for this time zone

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

    DaylightBias

    Bias (additional minutes to get to UTC time) for this time zone when in daylight saving

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

    Description

    Time zone description

    Declaration
    string Description { get; }
    Property Value
    System.String

    Id

    Id of the time zone

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

    StandardBias

    Bias (additional minutes to get to UTC time) for this time zone when not in daylight saving

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

    Methods

    GetTimeZoneInfo()

    Returns the current SharePoint timezone information as a Windows TimeZoneInfo object

    Declaration
    TimeZoneInfo GetTimeZoneInfo()
    Returns
    TimeZoneInfo

    LocalTimeToUtc(DateTime)

    Converts the specified DateTime value from local time to Coordinated Universal Time (UTC).

    Declaration
    DateTime LocalTimeToUtc(DateTime dateTime)
    Parameters
    DateTime dateTime

    A object that represents the local date and time value to convert.

    Returns
    DateTime

    A object that contains the date converted to UTC.

    UtcToLocalTime(DateTime)

    Converts the specified DateTime value from Coordinated Universal Time (UTC) to local time.

    Declaration
    DateTime UtcToLocalTime(DateTime dateTime)
    Parameters
    DateTime dateTime

    A object that represents the UTC date and time value to convert.

    Returns
    DateTime

    A structure that contains the date and time converted to their local values.

    Extension Methods

    DataModelGetExtensions.GetBatchAsync<TModel>(IDataModelGet<TModel>, Expression<Func<TModel, Object>>[])
    DataModelGetExtensions.GetBatchAsync<TModel>(IDataModelGet<TModel>, Batch, Expression<Func<TModel, Object>>[])
    DataModelGetExtensions.GetBatch<TModel>(IDataModelGet<TModel>, Batch, Expression<Func<TModel, Object>>[])
    DataModelGetExtensions.GetBatch<TModel>(IDataModelGet<TModel>, Expression<Func<TModel, Object>>[])
    DataModelGetExtensions.Get<TModel>(IDataModelGet<TModel>, Expression<Func<TModel, Object>>[])
    DataModelLoadExtensions.LoadBatchAsync<TModel>(IDataModelLoad<TModel>, Expression<Func<TModel, Object>>[])
    DataModelLoadExtensions.LoadBatchAsync<TModel>(IDataModelLoad<TModel>, Batch, Expression<Func<TModel, Object>>[])
    DataModelLoadExtensions.LoadBatch<TModel>(IDataModelLoad<TModel>, Batch, Expression<Func<TModel, Object>>[])
    DataModelLoadExtensions.LoadBatch<TModel>(IDataModelLoad<TModel>, Expression<Func<TModel, Object>>[])
    DataModelLoadExtensions.Load<TModel>(IDataModelLoad<TModel>, Expression<Func<TModel, Object>>[])
    DataModelLoadExtensions.QueryProperties<TModel>(IDataModelLoad<TModel>, Expression<Func<TModel, Object>>[])
    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