C# Class Client.WebDavResource

Inheritance: IResource
Afficher le fichier Open project: ringostarr80/WebDav.NET

Méthodes publiques

Méthode Description
Delete ( ) : void

Deletes this item.

Download ( string filename ) : void

Downloads content of the resource to a file specified by filename

GetAllProperties ( ) : Property[]

Retrieves all custom properties exposed by the item.

GetPropertyNames ( ) : Client.PropertyName[]

Returns names of all custom properties exposed by this item.

GetPropertyValues ( PropertyName names ) : Property[]

Retrieves values of specific properties.

GetReadStream ( ) : Stream

Loads content of the resource from WebDAV server.

GetWriteStream ( long contentLength ) : Stream

Saves resource's content to WebDAV server.

GetWriteStream ( string contentType, long contentLength ) : Stream

Saves resource's content to WebDAV server.

SetComment ( string comment ) : void

For internal use only.

SetCreationDate ( System.DateTime creationDate ) : void

For internal use only.

SetCreationDate ( string creationDate ) : void

For internal use only.

SetCreatorDisplayName ( string creatorDisplayName ) : void

For internal use only.

SetCredentials ( ICredentials credentials ) : void

For internal use only.

SetHierarchyItem ( IHierarchyItem item ) : void

For internal use only.

SetHref ( Uri href ) : void

For internal use only.

SetHref ( string href, Uri baseUri ) : void

For internal use only.

SetLastModified ( System.DateTime lastModified ) : void

For internal use only.

SetLastModified ( string lastModified ) : void

For internal use only.

SetProperties ( Property properties ) : void

For internal use only.

SetProperty ( Property property ) : void

For internal use only.

SetProperty ( PropertyName propertyName, string value ) : void

For internal use only.

SetProperty ( string name, string nameSpace, string value ) : void

For internal use only.

Upload ( string filename ) : void

Uploads content of a file specified by filename to the server

Method Details

Delete() public méthode

Deletes this item.
public Delete ( ) : void
Résultat void

Download() public méthode

Downloads content of the resource to a file specified by filename
public Download ( string filename ) : void
filename string Full path of a file to be downloaded to
Résultat void

GetAllProperties() public méthode

Retrieves all custom properties exposed by the item.
public GetAllProperties ( ) : Property[]
Résultat Property[]

GetPropertyNames() public méthode

Returns names of all custom properties exposed by this item.
public GetPropertyNames ( ) : Client.PropertyName[]
Résultat Client.PropertyName[]

GetPropertyValues() public méthode

Retrieves values of specific properties.
public GetPropertyValues ( PropertyName names ) : Property[]
names PropertyName
Résultat Property[]

GetReadStream() public méthode

Loads content of the resource from WebDAV server.
public GetReadStream ( ) : Stream
Résultat Stream

GetWriteStream() public méthode

Saves resource's content to WebDAV server.
public GetWriteStream ( long contentLength ) : Stream
contentLength long Length of data to be written.
Résultat Stream

GetWriteStream() public méthode

Saves resource's content to WebDAV server.
public GetWriteStream ( string contentType, long contentLength ) : Stream
contentType string Media type of the resource.
contentLength long Length of data to be written.
Résultat Stream

SetComment() public méthode

For internal use only.
public SetComment ( string comment ) : void
comment string
Résultat void

SetCreationDate() public méthode

For internal use only.
public SetCreationDate ( System.DateTime creationDate ) : void
creationDate System.DateTime
Résultat void

SetCreationDate() public méthode

For internal use only.
public SetCreationDate ( string creationDate ) : void
creationDate string
Résultat void

SetCreatorDisplayName() public méthode

For internal use only.
public SetCreatorDisplayName ( string creatorDisplayName ) : void
creatorDisplayName string
Résultat void

SetCredentials() public méthode

For internal use only.
public SetCredentials ( ICredentials credentials ) : void
credentials ICredentials
Résultat void

SetHierarchyItem() public méthode

For internal use only.
public SetHierarchyItem ( IHierarchyItem item ) : void
item IHierarchyItem
Résultat void

SetHref() public méthode

For internal use only.
public SetHref ( Uri href ) : void
href System.Uri
Résultat void

SetHref() public méthode

For internal use only.
public SetHref ( string href, Uri baseUri ) : void
href string
baseUri System.Uri
Résultat void

SetLastModified() public méthode

For internal use only.
public SetLastModified ( System.DateTime lastModified ) : void
lastModified System.DateTime
Résultat void

SetLastModified() public méthode

For internal use only.
public SetLastModified ( string lastModified ) : void
lastModified string
Résultat void

SetProperties() public méthode

For internal use only.
public SetProperties ( Property properties ) : void
properties Property
Résultat void

SetProperty() public méthode

For internal use only.
public SetProperty ( Property property ) : void
property Property
Résultat void

SetProperty() public méthode

For internal use only.
public SetProperty ( PropertyName propertyName, string value ) : void
propertyName PropertyName
value string
Résultat void

SetProperty() public méthode

For internal use only.
public SetProperty ( string name, string nameSpace, string value ) : void
name string
nameSpace string
value string
Résultat void

Upload() public méthode

Uploads content of a file specified by filename to the server
public Upload ( string filename ) : void
filename string Full path of a file to be uploaded from
Résultat void