MagicCMS Documentation

MagicIndex..::..GetPostId Method

Gets the post identifier.

Namespace:  MagicCMS.Routing
Assembly:  MagicCMS.4.5 (in MagicCMS.4.5.dll)

Syntax


public static int GetPostId(
	string title
)

Parameters

title
Type: String
The indexed title.

Return Value

The MagicPost Pk or 0 if failed