Partager via


SocialAttachment.AttachmentKind - Propriété

Obtient ou définit le type de pièce jointe.

Espace de noms :  Microsoft.SharePoint.Client.Social
Assemblys :   Microsoft.SharePoint.Client.UserProfiles.Silverlight (dans Microsoft.SharePoint.Client.UserProfiles.Silverlight.dll);  Microsoft.SharePoint.Client.UserProfiles.Phone (dans Microsoft.SharePoint.Client.UserProfiles.Phone.dll)  Microsoft.SharePoint.Client.UserProfiles (dans Microsoft.SharePoint.Client.UserProfiles.dll)

Syntaxe

'Déclaration
Public Property AttachmentKind As SocialAttachmentKind
    Get
    Set
'Utilisation
Dim instance As SocialAttachment
Dim value As SocialAttachmentKind

value = instance.AttachmentKind

instance.AttachmentKind = value
public SocialAttachmentKind AttachmentKind { get; set; }

Valeur de propriété

Type : Microsoft.SharePoint.Client.Social.SocialAttachmentKind
Image = 0, Video = 1, Document = 2.

Voir aussi

Référence

SocialAttachment classe

SocialAttachment - Membres

Microsoft.SharePoint.Client.Social - Espace de noms

Autres ressources

How to: Embed images, videos, and documents in posts