Options
All
  • Public
  • Public/Protected
  • All
Menu

Represents the definition of a folder or item property.

Hierarchy

Index

Constructors

constructor

  • internal

    Initializes a new instance of the PropertyDefinition class.

    Parameters

    • propertyName: string

      Name of the property (added to workaround reflection based initialization of Names).

    • xmlElementName: string

      Name of the XML element.

    • uri: string

      The URI.

    • version: ExchangeVersion

      The version.

    Returns PropertyDefinition

  • internal

    Initializes a new instance of the PropertyDefinition class.

    Parameters

    • propertyName: string

      Name of the property (added to workaround reflection based initialization of Names).

    • xmlElementName: string

      Name of the XML element.

    • flags: PropertyDefinitionFlags

      The flags.

    • version: ExchangeVersion

      The version.

    Returns PropertyDefinition

  • internal

    Initializes a new instance of the PropertyDefinition class.

    Parameters

    • propertyName: string

      Name of the property (added to workaround reflection based initialization of Names).

    • xmlElementName: string

      Name of the XML element.

    • uri: string

      The URI.

    • flags: PropertyDefinitionFlags

      The flags.

    • version: ExchangeVersion

      The version.

    Returns PropertyDefinition

Properties

Private flags

Private name

name: string

Private version

Private xmlElementName

xmlElementName: string

Accessors

IsNullable

  • get IsNullable(): boolean
  • internalgets

    a value indicating whether this property definition is for a nullable type (ref, int?, bool?...).

    Returns boolean

Name

  • get Name(): string
  • set Name(value: string): void
  • Gets the name of the property.

    Returns string

  • Gets the name of the property.

    Parameters

    • value: string

    Returns void

Type

  • get Type(): any
  • Gets the type of the property.

    Returns any

Uri

  • get Uri(): string
  • internal

    Gets the URI of the property definition.

    Returns string

Version

XmlElementName

  • get XmlElementName(): string
  • internalgets

    the name of the XML element.

    value

    {string} The name of the XML element.

    Returns string

Methods

GetAssociatedInternalProperties

  • internalgets

    a list of associated internal properties.

    remarks

    This is a hack. It is here (currently) solely to help the API register the MeetingTimeZone property definition that is internal.

    Returns PropertyDefinition[]

    A list of PropertyDefinition objects.

GetPrintableName

  • GetPrintableName(): string
  • internalgets

    the property definition's printable name.

    Returns string

    The property definition's printable name.

GetXmlElementName

  • GetXmlElementName(): string

HasFlag

  • internaldetermines

    whether the specified flag is set.

    Parameters

    Returns boolean

    true if the specified flag is set; otherwise, false.

  • internaldetermines

    whether the specified flag is set.

    Parameters

    Returns boolean

    true if the specified flag is set; otherwise, false.

LoadPropertyValueFromXmlJsObject

  • internal

    Loads the property value from json.

    Parameters

    • jsObject: any

      The JSON value. Can be a JsonObject, string, number, bool, array, or null.

    • service: ExchangeService

      The service.

    • propertyBag: PropertyBag

      The property bag.

    Returns void

RegisterAssociatedInternalProperties

  • internalregisters

    associated internal properties.

    Parameters

    Returns void

ToString

  • ToString(): string

WriteAttributesToXml

WritePropertyValueToXml

  • internalwrites

    the property value to XML.

    Parameters

    • writer: EwsServiceXmlWriter

      The writer.

    • propertyBag: PropertyBag

      The property bag.

    • isUpdateOperation: boolean

      Indicates whether the context is an update operation.

    Returns void

WriteToXml

Static LoadFromXmlJsObject

Generated using TypeDoc