Dynamicweb 8 Documentation
GetItemById<T> Method (ItemEntry)

Item type.
Item Id.
Returns the item by its Id.
Syntax
'Declaration
 
Public Shared Function GetItemById(Of T As {New, ItemEntry})( _ 
   ByVal id As String _ 
) As T
public static T GetItemById<T>( 
   string id
)
where T: new(), ItemEntry

Parameters

id
Item Id.

Type Parameters

T
Item type.

Return Value

The item.
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

ItemEntry Class
ItemEntry Members

Send Feedback