C# Класс Client.WebDavResource

Наследование: IResource
Показать файл Открыть проект

Открытые методы

Метод Описание
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

Описание методов

Delete() публичный Метод

Deletes this item.
public Delete ( ) : void
Результат void

Download() публичный Метод

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
Результат void

GetAllProperties() публичный Метод

Retrieves all custom properties exposed by the item.
public GetAllProperties ( ) : Property[]
Результат Property[]

GetPropertyNames() публичный Метод

Returns names of all custom properties exposed by this item.
public GetPropertyNames ( ) : Client.PropertyName[]
Результат Client.PropertyName[]

GetPropertyValues() публичный Метод

Retrieves values of specific properties.
public GetPropertyValues ( PropertyName names ) : Property[]
names PropertyName
Результат Property[]

GetReadStream() публичный Метод

Loads content of the resource from WebDAV server.
public GetReadStream ( ) : Stream
Результат Stream

GetWriteStream() публичный Метод

Saves resource's content to WebDAV server.
public GetWriteStream ( long contentLength ) : Stream
contentLength long Length of data to be written.
Результат Stream

GetWriteStream() публичный Метод

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.
Результат Stream

SetComment() публичный Метод

For internal use only.
public SetComment ( string comment ) : void
comment string
Результат void

SetCreationDate() публичный Метод

For internal use only.
public SetCreationDate ( System.DateTime creationDate ) : void
creationDate System.DateTime
Результат void

SetCreationDate() публичный Метод

For internal use only.
public SetCreationDate ( string creationDate ) : void
creationDate string
Результат void

SetCreatorDisplayName() публичный Метод

For internal use only.
public SetCreatorDisplayName ( string creatorDisplayName ) : void
creatorDisplayName string
Результат void

SetCredentials() публичный Метод

For internal use only.
public SetCredentials ( ICredentials credentials ) : void
credentials ICredentials
Результат void

SetHierarchyItem() публичный Метод

For internal use only.
public SetHierarchyItem ( IHierarchyItem item ) : void
item IHierarchyItem
Результат void

SetHref() публичный Метод

For internal use only.
public SetHref ( Uri href ) : void
href System.Uri
Результат void

SetHref() публичный Метод

For internal use only.
public SetHref ( string href, Uri baseUri ) : void
href string
baseUri System.Uri
Результат void

SetLastModified() публичный Метод

For internal use only.
public SetLastModified ( System.DateTime lastModified ) : void
lastModified System.DateTime
Результат void

SetLastModified() публичный Метод

For internal use only.
public SetLastModified ( string lastModified ) : void
lastModified string
Результат void

SetProperties() публичный Метод

For internal use only.
public SetProperties ( Property properties ) : void
properties Property
Результат void

SetProperty() публичный Метод

For internal use only.
public SetProperty ( Property property ) : void
property Property
Результат void

SetProperty() публичный Метод

For internal use only.
public SetProperty ( PropertyName propertyName, string value ) : void
propertyName PropertyName
value string
Результат void

SetProperty() публичный Метод

For internal use only.
public SetProperty ( string name, string nameSpace, string value ) : void
name string
nameSpace string
value string
Результат void

Upload() публичный Метод

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
Результат void