Click or drag to resize

ContentsExtensionsToPath Method

Gives view path for SOWI Web Helper standard Content

Namespace:  SOWIWeb.Helper
Assembly:  SOWIWeb.Helper (in SOWIWeb.Helper.dll) Version: 19.1.23.1 (19.1.23.622)
Syntax
public static string ToPath(
	this Contents pContentView
)

Parameters

pContentView
Type: SOWIWeb.HelperContents
Content view name

Return Value

Type: String
Content view path

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Contents. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
Remarks
Puts a custom paths with event OnContentsToPath

If a item of enumeration of Contents not declaration then triggers an exception

Uses SOWI Web Foundation Form partial views e.g. /Views/Form/CreateContent.cshtml

See Also