C# 클래스 Client.WebDavResource

상속: IResource
파일 보기 프로젝트 열기: ringostarr80/WebDav.NET

공개 메소드들

메소드 설명
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