ExchangeServiceBinding.CreateItem Method
Creates an item.
Namespace: Microsoft.SharePoint.Portal.WebControls
Assembly: Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)
Syntax
'Declaration
<SoapHeaderAttribute("MailboxCulture")> _
<SoapHeaderAttribute("ExchangeImpersonation")> _
<SoapHeaderAttribute("ServerVersionInfoValue", Direction := SoapHeaderDirection.Out)> _
<SoapHeaderAttribute("SerializedSecurityContext")> _
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/exchange/services/2006/messages/CreateItem", Use := SoapBindingUse.Literal, _
ParameterStyle := SoapParameterStyle.Bare)> _
Public Function CreateItem ( _
CreateItem1 As CreateItemType _
) As CreateItemResponseType
'Usage
Dim instance As ExchangeServiceBinding
Dim CreateItem1 As CreateItemType
Dim returnValue As CreateItemResponseType
returnValue = instance.CreateItem(CreateItem1)
[SoapHeaderAttribute("MailboxCulture")]
[SoapHeaderAttribute("ExchangeImpersonation")]
[SoapHeaderAttribute("ServerVersionInfoValue", Direction = SoapHeaderDirection.Out)]
[SoapHeaderAttribute("SerializedSecurityContext")]
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/exchange/services/2006/messages/CreateItem", Use = SoapBindingUse.Literal,
ParameterStyle = SoapParameterStyle.Bare)]
public CreateItemResponseType CreateItem(
CreateItemType CreateItem1
)
Parameters
- CreateItem1
Type: Microsoft.SharePoint.Portal.WebControls.CreateItemType
An item to create.
Return Value
Type: Microsoft.SharePoint.Portal.WebControls.CreateItemResponseType
An object representing an item to create.