DefaultDocumentCollection.ChangeContentTypeForDocument método
Namespace: Microsoft.SharePoint.Client.DocumentSet
Assemblies: Microsoft.SharePoint.Client.DocumentManagement.Silverlight (em Microsoft.SharePoint.Client.DocumentManagement.Silverlight.dll); Microsoft.SharePoint.Client.DocumentManagement.Phone (em Microsoft.SharePoint.Client.DocumentManagement.Phone.dll) Microsoft.SharePoint.Client.DocumentManagement (em Microsoft.SharePoint.Client.DocumentManagement.dll)
Sintaxe
'Declaração
Public Function ChangeContentTypeForDocument ( _
name As String, _
contentTypeId As ContentTypeId _
) As ClientResult(Of Boolean)
'Uso
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
)
Parâmetros
- name
Tipo: System.String
- contentTypeId
Tipo: Microsoft.SharePoint.Client.ContentTypeId
Valor retornado
Tipo: Microsoft.SharePoint.Client.ClientResult<Boolean>
Ver também
Referência
DefaultDocumentCollection classe