Свойство | Type | Description |
---|
Méthode | Description | |
---|---|---|
CheckAllowedContentType ( |
Checks if a content of the given ContentType is allowed under a given parent content
|
|
CheckAllowedContentType ( |
Checks if a content of the given ContentType is allowed under a given parent content
|
|
CreateBinaryData ( System.Web.HttpPostedFile file ) : |
Creates BinaryData from HttpPostedFile
|
|
CreateBinaryData ( string fileName, Stream stream ) : |
Creates BinaryData from filename and stream
|
|
CreateNodeOfType ( string contentTypeName, Node parent, string fileName, Stream stream ) : void |
Creates new Node of specified Content Type
|
|
GetContentType ( string fileName, string contentType ) : string |
Determines content type from fileextension or given contentType
|
|
ModifyNode ( Node node, Stream stream ) : void |
Modify node's binary
|
public static CheckAllowedContentType ( |
||
parent | ||
child | Node | child node whose NodeType will be checked |
Résultat | bool |
public static CheckAllowedContentType ( |
||
parent | ||
contentTypeName | string | |
Résultat | bool |
public static CreateBinaryData ( System.Web.HttpPostedFile file ) : |
||
file | System.Web.HttpPostedFile | |
Résultat |
public static CreateBinaryData ( string fileName, Stream stream ) : |
||
fileName | string | |
stream | Stream | |
Résultat |
public static CreateNodeOfType ( string contentTypeName, Node parent, string fileName, Stream stream ) : void | ||
contentTypeName | string | |
parent | Node | |
fileName | string | |
stream | Stream | |
Résultat | void |
public static GetContentType ( string fileName, string contentType ) : string | ||
fileName | string | |
contentType | string | |
Résultat | string |
public static ModifyNode ( Node node, Stream stream ) : void | ||
node | Node | |
stream | Stream | |
Résultat | void |