DocumentIdFromPath Method Content Studio 5.7 SDK
Content Studio Web Content Management System

[This is preliminary documentation and is subject to change.]

Creates a new DocumentId from its path representation.

Namespace: ContentStudio.Document
Assembly: CSServer5 (in CSServer5.dll) Version: 5.7.5016.0 (5.7.5016.0)
Syntax

public static DocumentId FromPath(
	string documentPath
)

Parameters

documentPath
Type: SystemString
The document path. Examples
PathDescription
Eng/News/MyNewsItem.eptAbsolute path
NewsVirtual path
Bin/ListFilesFromUrl.dllUploaded assembly
App_Code/CSCode/39F0CCA2-F6B8-45E5-91DA-C0341D24BC49.csCode file

Return Value

Type: DocumentId
A DocumentId that represents the passed in path.
See Also

Reference