Partager via


ExchangeServiceBinding.CreateItem, méthode (Microsoft.SharePoint.Portal.WebControls)

Creates an item.

Espace de noms : Microsoft.SharePoint.Portal.WebControls
Assembly : Microsoft.SharePoint.Portal (dans microsoft.sharepoint.portal.dll)

Syntaxe

'Déclaration
<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
'Utilisation
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
)

Paramètres

  • CreateItem1
    An item to create.

Valeur de retour

An object representing an item to create.

Voir aussi

Référence

ExchangeServiceBinding, classe
Membres ExchangeServiceBinding
Microsoft.SharePoint.Portal.WebControls, espace de noms