VideoSet.CreateVideo method
Namespace: Microsoft.SharePoint.Client.Video
Assembly: Microsoft.SharePoint.Client.DocumentManagement (in Microsoft.SharePoint.Client.DocumentManagement.dll)
Syntax
'Declaration
Public Shared Function CreateVideo ( _
context As ClientRuntimeContext, _
parentFolder As Folder, _
name As String, _
ctid As ContentTypeId _
) As ClientResult(Of String)
'Usage
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
)
Parameters
- context
Type: Microsoft.SharePoint.Client.ClientRuntimeContext
- parentFolder
Type: Microsoft.SharePoint.Client.Folder
- name
Type: System.String
- ctid
Type: Microsoft.SharePoint.Client.ContentTypeId
Return value
Type: Microsoft.SharePoint.Client.ClientResult<String>