Click or drag to resize

FormsExtensionsToPath Method

Gives view path for SOWI Web Foundation standard Form

Namespace:  SOWIWeb.Foundation
Assembly:  SOWIWeb.Foundation (in SOWIWeb.Foundation.dll) Version: 19.1.23.1 (19.1.23.622)
Syntax
public static string ToPath(
	this Forms pFormView
)

Parameters

pFormView
Type: SOWIWeb.FoundationForms

Return Value

Type: String
View path

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Forms. 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 OnFormsToPath

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

Examples
This example reads the default path of the form CreateContent
ViewBag.ContentName = SOWIWeb.Foundation.Forms.CreateContent.ToPath();
See Also