ContentSharingModality.BeginCreateContentFromFile method

Lync 2013

Creates a content object of the given type with the given title and file name.

Namespace:  Microsoft.Lync.Model.Conversation.Sharing
Assembly:  Microsoft.Lync.Model (in Microsoft.Lync.Model.dll)

'Declaration
Public Function BeginCreateContentFromFile ( _
	contentType As ShareableContentType, _
	title As String, _
	fileName As String, _
	includeNativeFile As Boolean, _
	callback As AsyncCallback, _
	state As Object _
) As IAsyncResult
'Usage
Dim instance As ContentSharingModality
Dim contentType As ShareableContentType
Dim title As String
Dim fileName As String
Dim includeNativeFile As Boolean
Dim callback As AsyncCallback
Dim state As Object
Dim returnValue As IAsyncResult

returnValue = instance.BeginCreateContentFromFile(contentType, _
	title, fileName, includeNativeFile, _
	callback, state)

Parameters

contentType
Type: Microsoft.Lync.Model.Conversation.Sharing.ShareableContentType
title
Type: System.String
fileName
Type: System.String
includeNativeFile
Type: System.Boolean
callback
Type: System.AsyncCallback
state
Type: System.Object

Return value

Type: System.IAsyncResult
Show: