프로퍼티 | 타입 | 설명 |
---|
메소드 | 설명 | |
---|---|---|
GetContentTypeForFileName ( string fileName ) : string |
tries to get a contenttype for a filename by using the classesRoot in the registry. Will FAIL if that filetype is not registered with a contenttype
|
|
GetDataStream ( ) : Stream |
returns a stream of the actual content that is base64 encoded
|
|
MediaSource ( string contenttype ) : System |
constructs a media source based on a contenttype
|
|
MediaSource ( string name, string contenttype ) : System |
constructs a media source based on a contenttype and a name
|
public static GetContentTypeForFileName ( string fileName ) : string | ||
fileName | string | |
리턴 | string |
public MediaSource ( string contenttype ) : System | ||
contenttype | string | the contenttype of the file |
리턴 | System |
public MediaSource ( string name, string contenttype ) : System | ||
name | string | the name of the content |
contenttype | string | the contenttype of the file |
리턴 | System |