ResourceProperties Event

Fires for each entry returned through a property search.

Syntax

ANSI (Cross Platform)
virtual int FireResourceProperties(WebDAVResourcePropertiesEventParams *e);
typedef struct {
const char *ResourceURI;
const char *ResourceProperties; int reserved; } WebDAVResourcePropertiesEventParams; Unicode (Windows) virtual INT FireResourceProperties(WebDAVResourcePropertiesEventParams *e);
typedef struct {
LPCWSTR ResourceURI;
LPCWSTR ResourceProperties; INT reserved; } WebDAVResourcePropertiesEventParams;
- (void)onResourceProperties:(NSString*)resourceURI :(NSString*)resourceProperties;
#define EID_WEBDAV_RESOURCEPROPERTIES 10

virtual INT IPWORKS_CALL FireResourceProperties(LPSTR &lpszResourceURI, LPSTR &lpszResourceProperties);

Remarks

The ResourceProperties event is fired when resource properties are received as a response to FindProperties.

The StartTransfer and EndTransfer events mark the beginning and end of the event stream.

The ResourceProperties contains the full XML containing the properties of the resource.

ResourceURI contains the name of the resource.

The parsed property names, values, and status are contained within the Properties properties.

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