RuntimeClass.GetOfficeItemHelper Method
Gets a helper object that provides Microsoft Business Connectivity Services (BCS) functionality for an existing Microsoft Office application item.
Namespace: Microsoft.Office.BusinessApplications.Runtime
Assembly: Microsoft.Office.BusinessApplications.Runtime (in Microsoft.Office.BusinessApplications.Runtime.dll)
Syntax
'Declaration
Public Function GetOfficeItemHelper ( _
officeItem As Object, _
itemType As OfficeItemType _
) As IOfficeItemHelper
'Usage
Dim instance As RuntimeClass
Dim officeItem As Object
Dim itemType As OfficeItemType
Dim returnValue As IOfficeItemHelper
returnValue = instance.GetOfficeItemHelper(officeItem, _
itemType)
public IOfficeItemHelper GetOfficeItemHelper(
Object officeItem,
OfficeItemType itemType
)
Parameters
- officeItem
Type: System.Object
The existing Microsoft Office application item. Must be a Microsoft Outlook 2010 item.
- itemType
Type: Microsoft.Office.BusinessApplications.Runtime.OfficeItemType
The item type.
Return Value
Type: Microsoft.Office.BusinessApplications.Runtime.IOfficeItemHelper
An IOfficeItemHelper object.