ItemEnclosureType Property

This property specifies the type of enclosure.

Syntax

ANSI (Cross Platform)
char* GetItemEnclosureType(int iItemIndex);
int SetItemEnclosureType(int iItemIndex, const char* lpszItemEnclosureType); Unicode (Windows) LPWSTR GetItemEnclosureType(INT iItemIndex);
INT SetItemEnclosureType(INT iItemIndex, LPCWSTR lpszItemEnclosureType);
- (NSString*)itemEnclosureType:(int)itemIndex;
- (void)setItemEnclosureType:(int)itemIndex:(NSString*)newItemEnclosureType;
#define PID_RSS_ITEMENCLOSURETYPE 50

IPWORKS_EXTERNAL void* IPWORKS_CALL IPWorks_RSS_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKS_EXTERNAL int IPWORKS_CALL IPWorks_RSS_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
IPWORKS_EXTERNAL int IPWORKS_CALL IPWorks_RSS_CheckIndex(void *lpObj, int propid, int arridx);

Default Value

""

Remarks

This property specifies the type of enclosure. This property must contain a standard MIME type such as "audio/mpeg".

An enclosure specifies a media object which is attached to the item. The fields ItemEnclosureLength, ItemEnclosureType, and ItemEnclosureUrl all are required when specifying an enclosure.

The ItemIndex parameter specifies the index of the item in the array. The size of the array is controlled by the ItemCount property.

This property is not available at design time.

Data Type

String

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks 2020 C++ Edition - Version 20.0 [Build 8307]