Dynamicweb 8 Documentation
Peek(String) Method

Item type.
Returns the next available Id for a given item type.
Syntax
'Declaration
 
Public Overloads Shared Function Peek( _ 
   ByVal itemType As String _ 
) As String
public static string Peek( 
   string itemType 
)

Parameters

itemType
Item type.

Return Value

The next available Id for a given item type.
Remarks
This method does not update the Id counter and should not be used for assigning Ids to items.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

IdGenerator Class
IdGenerator Members
Overload List

Send Feedback