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.Collab
Assembly:  ITHit.Collab (in ITHit.Collab.dll) Version: 1.0.0.540 (1.0.0.540)
Syntax
public interface IMedia : IProperty, ITextProperty, 
	IUriProperty, IMediaType

The IMedia type exposes the following members.

Properties
  NameDescription
Public propertyBase64Data
Base 64 encoded content.
Public propertyContainer
Parent component for this instance.
(Inherited from IProperty.)
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 IProperty.)
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 methodRemove
Deletes property from calendar or business card.
(Inherited from IProperty.)
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