Parses the upload folder and replaces the placeholders ({id}, {username}, {userid}) with appropriate values.
Namespace: MonoSoftware.MonoX.FileSystemAssembly: MonoX (in MonoX.dll) Version: 5.1.40.5065 (5.1.40.5065)
Syntax
C# |
---|
public string ParseUploadFolder(
string defaultPath,
string customPath,
Guid entityId
) |
Visual Basic |
---|
Public Function ParseUploadFolder (
defaultPath As String,
customPath As String,
entityId As Guid
) As String |
Visual C++ |
---|
public:
virtual String^ ParseUploadFolder(
String^ defaultPath,
String^ customPath,
Guid entityId
) sealed |
F# |
---|
abstract ParseUploadFolder :
defaultPath : string *
customPath : string *
entityId : Guid -> string
override ParseUploadFolder :
defaultPath : string *
customPath : string *
entityId : Guid -> string |
Parameters
- defaultPath
- Type: System..::..String
Default upload path. Always used in combination with default user upload path.
- customPath
- Type: System..::..String
Custom uplaod path as defined in the part settings. Overrides the defaultUploadPath if set by user.
- entityId
- Type: System..::..Guid
Parent entity ID (blog post, note...) used to create a unique path.
Return Value
Type:
StringParsed upload folder.
Implements
IFileContentProvider..::..ParseUploadFolder(String, String, Guid)See Also