Метод DefaultDocumentCollection.ChangeContentTypeForDocument
Пространство имен: Microsoft.SharePoint.Client.DocumentSet
Сборки: Microsoft.SharePoint.Client.DocumentManagement.Silverlight (в Microsoft.SharePoint.Client.DocumentManagement.Silverlight.dll); Microsoft.SharePoint.Client.DocumentManagement.Phone (в Microsoft.SharePoint.Client.DocumentManagement.Phone.dll) Microsoft.SharePoint.Client.DocumentManagement (в Microsoft.SharePoint.Client.DocumentManagement.dll)
Синтаксис
'Декларация
Public Function ChangeContentTypeForDocument ( _
name As String, _
contentTypeId As ContentTypeId _
) As ClientResult(Of Boolean)
'Применение
Dim instance As DefaultDocumentCollection
Dim name As String
Dim contentTypeId As ContentTypeId
Dim returnValue As ClientResult(Of Boolean)
returnValue = instance.ChangeContentTypeForDocument(name, _
contentTypeId)
public ClientResult<bool> ChangeContentTypeForDocument(
string name,
ContentTypeId contentTypeId
)
Параметры
- name
Тип: System.String
- contentTypeId
Тип: Microsoft.SharePoint.Client.ContentTypeId
Возвращаемое значение
Тип: Microsoft.SharePoint.Client.ClientResult<Boolean>
См. также
Справочные материалы
DefaultDocumentCollection класс