SharePoint Integrator V4 - Online Help
SharePoint Integrator V4
Questions / Feedback?

AddContentTypeToList Method

Adds the specified content type to the specified list.

Syntax

[VB.NET]
Public Sub AddContentTypeToList(ByVal ContentTypeId As String, ByVal ListName As String)
[C#]
public void AddContentTypeToList(string contentTypeId, string listName);

Remarks

If successful, this call will apply the content type specified by ContentTypeId to the ListName.

NOTE: The content type that exists in the list after this call will contain a new Id.

 
 
Copyright (c) 2017 /n software inc. - All rights reserved.
Build 4.0.6240.0