Inherits from NSObject
Declared in WABlobContainer.h

Overview

A class that represents a Windows Azure blob container.

Tasks

Properties

URL

The address of the container.

@property (readonly) NSURL *URL

Declared In

WABlobContainer.h

metadata

The metadata for the container.

@property (readonly) NSDictionary *metadata

Declared In

WABlobContainer.h

name

The name of the container.

@property (copy) NSString *name

Declared In

WABlobContainer.h

properties

The properties for the container.

@property (readonly) NSDictionary *properties

Declared In

WABlobContainer.h

sharedAccessSigniture

The shared access signiture for the container.

@property (readonly) NSString *sharedAccessSigniture

Discussion

@discussion This value is only valid when using a proxy

Declared In

WABlobContainer.h

Instance Methods

initContainerWithName:

Initializes a newly created WABlobContainer with a name.

- (id)initContainerWithName:(NSString *)name

Parameters

name

The name of the container.

Return Value

The newly initialized WABlobContainer object.

Declared In

WABlobContainer.h

initContainerWithName:URL:

Initializes a newly created WABlobContainer with a name.

- (id)initContainerWithName:(NSString *)name URL:(NSString *)URL

Parameters

name

The name of the container.

URL

The address of the container.

Return Value

The newly initialized WABlobContainer object.

Declared In

WABlobContainer.h

initContainerWithName:URL:sharedAccessSigniture:

Initializes a newly created WABlobContainer with a name, address and metadata for the container.

- (id)initContainerWithName:(NSString *)name URL:(NSString *)URL sharedAccessSigniture:(NSString *)sharedAccessSigniture

Parameters

name

The name of the container.

URL

The address of the container.

sharedAccessSigniture

The container’s shared access signiture.

@discussion This sharedAccessSigniture is only valid when using a proxy

Return Value

The newly initialized WABlobContainer object.

Declared In

WABlobContainer.h

initContainerWithName:URL:sharedAccessSigniture:properties:

Initializes a newly created WABlobContainer with a name, address, metadata for the container.

- (id)initContainerWithName:(NSString *)name URL:(NSString *)URL sharedAccessSigniture:(NSString *)sharedAccessSigniture properties:(NSDictionary *)properties

Parameters

name

The name of the container.

URL

The address of the container.

sharedAccessSigniture

The container’s metadata.

properties

The properties for the container.

@discussion This sharedAccessSigniture is only valid when using a proxy

Return Value

The newly initialized WABlobContainer object.

Declared In

WABlobContainer.h

removeMetadataForKey:

Removes a given key and its associated value from the dictionary.

- (void)removeMetadataForKey:(NSString *)key

Parameters

key

The key to remove.

@discussion Does nothing if key does not exist.

Declared In

WABlobContainer.h

setValue:forMetadataKey:

Sets a value to the container metadata dictionary.

- (void)setValue:(NSString *)value forMetadataKey:(NSString *)key

Parameters

value

The value for the key.

key

The key for the value.

@discussion Raises an NSInvalidArgumentException if aKey or anObject is nil. If you need to represent a nil value in the dictionary, use NSNull. If aKey already exists in the dictionary, the dictionary’s previous value object for that key is sent a release message and anObject takes its place.

Declared In

WABlobContainer.h