Click or drag to resize

IMedia Interface

IT Hit WebDAV Classes Reference
Represents photo, logo and sound in case of a business card or attchment in case or a calendar.

Namespace: ITHit.WebDAV
Assembly: ITHit.WebDAV (in ITHit.WebDAV.dll) Version: 1.0.0.503 (1.0.0.503)
Syntax
public interface IMedia : IMediaType, IUriProperty, 
	ITextProperty, IDavProperty

The IMedia type exposes the following members.

Properties
  NameDescription
Public propertyBase64Data
Base 64 encoded content.
Public propertyContainer
Parent component for this instance.
(Inherited from IDavProperty.)
Public propertyIsExternal
If this property is true, the media content is stored externaly, the Uri property points to the media content location. Otherwise use Base64Data to get the media content.
Public propertyMediaType
Gets or sets media type. Provides access to "MEDIATYPE" property in case of a business card or "MFTTYPE" parameter in case of a calendar.
(Inherited from IMediaType.)
Public propertyRawProperty
Provides low-level access to business card or calendar property.
(Inherited from IDavProperty.)
Public propertyText
Gets or sets decoded property value as text.
(Inherited from ITextProperty.)
Public propertyUri
Gets or sets a uniform resource locator.
(Inherited from IUriProperty.)
Top
Methods
  NameDescription
Public methodInit
Called by the library when new property is created to set the default property value. Used for internal purposes only in CreateItem call. Do not call this method deirectly.
(Inherited from IDavProperty.)
Public methodRemove
Deletes property from calendar or business card.
(Inherited from IDavProperty.)
Public methodSerialize
Returns a string that represents this property in serialized form.
(Inherited from IDavProperty.)
Top
Remarks
The content may be stored either externally or internally as part of calendar or card. Use IsExternal to verify if the content is external or internal. In case the content is external, the Uri property points to the media content location. Otherwise use Base64Data to get the media content.
See Also