Scf.Item Method (Generic Nullable, Generic Nullable, Generic Nullable, Int32, Object )
Creates a Simple Content Format Item element.
Namespace: Microsoft.SideShow.SimpleContentFormat
Assembly: Microsoft.SideShow (in microsoft.sideshow.dll)
Usage
Syntax
'Declaration
Public Shared Function Item ( _
itemId As Nullable(Of Integer), _
imageId As Nullable(Of Integer), _
contextMenuId As Nullable(Of Integer), _
targetId As Integer, _
ParamArray content As Object() _
) As ScfElement
public static ScfElement Item (
Nullable<int> itemId,
Nullable<int> imageId,
Nullable<int> contextMenuId,
int targetId,
params Object[] content
)
public:
static ScfElement^ Item (
Nullable<int> itemId,
Nullable<int> imageId,
Nullable<int> contextMenuId,
int targetId,
... array<Object^>^ content
)
public static ScfElement Item (
Nullable<int> itemId,
Nullable<int> imageId,
Nullable<int> contextMenuId,
int targetId,
Object[] content
)
public static function Item (
itemId : Nullable<int>,
imageId : Nullable<int>,
contextMenuId : Nullable<int>,
targetId : int,
... content : Object[]
) : ScfElement
Parameters
- itemId
Identifies the item’s ID.
- imageId
Identifies the content’s image ID.
- contextMenuId
Identifies the one-based ID of the page’s context menu.
- targetId
Identifies the ID of the content that the device should navigate to.
- content
An ScfElement object that makes up this Item element's content.
Return Value
Returns an ScfElement object that represents a menu item.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows Vista Home Premium, Windows Vista Business, Windows Vista Enterprise, Windows Vista Ultimate
Target Platforms
Windows Vista Home Premium, Windows Vista Business, Windows Vista Enterprise, Windows Vista Ultimate
See Also
Reference
Scf Class
Scf Members
Microsoft.SideShow.SimpleContentFormat Namespace