VideoSet.CreateVideo - Méthode
Espace de noms : Microsoft.SharePoint.Client.Video
Assemblys : Microsoft.SharePoint.Client.DocumentManagement.Silverlight (dans Microsoft.SharePoint.Client.DocumentManagement.Silverlight.dll); Microsoft.SharePoint.Client.DocumentManagement.Phone (dans Microsoft.SharePoint.Client.DocumentManagement.Phone.dll) Microsoft.SharePoint.Client.DocumentManagement (dans Microsoft.SharePoint.Client.DocumentManagement.dll)
Syntaxe
'Déclaration
Public Shared Function CreateVideo ( _
context As ClientRuntimeContext, _
parentFolder As Folder, _
name As String, _
ctid As ContentTypeId _
) As ClientResult(Of String)
'Utilisation
Dim context As ClientRuntimeContext
Dim parentFolder As Folder
Dim name As String
Dim ctid As ContentTypeId
Dim returnValue As ClientResult(Of String)
returnValue = VideoSet.CreateVideo(context, _
parentFolder, name, ctid)
public static ClientResult<string> CreateVideo(
ClientRuntimeContext context,
Folder parentFolder,
string name,
ContentTypeId ctid
)
Paramètres
- context
Type : Microsoft.SharePoint.Client.ClientRuntimeContext
- parentFolder
Type : Microsoft.SharePoint.Client.Folder
- name
Type : System.String
- ctid
Type : Microsoft.SharePoint.Client.ContentTypeId
Valeur renvoyée
Type : Microsoft.SharePoint.Client.ClientResult<String>