BrowserFormWebPart.ContentTypeId property

Gets or sets the content type ID of the item displayed in the Web Part.

Namespace:  Microsoft.Office.InfoPath.Server.Controls.WebUI
Assembly:  Microsoft.Office.InfoPath.Server (in Microsoft.Office.InfoPath.Server.dll)

Syntax

'Declaration
Public Property ContentTypeId As String
    Get
    Set
'Usage
Dim instance As BrowserFormWebPart
Dim value As String

value = instance.ContentTypeId

instance.ContentTypeId = value
public string ContentTypeId { get; set; }

Property value

Type: System.String
The content type ID of the item displayed in the Web Part, such as item, task, or contact.

See also

Reference

BrowserFormWebPart class

BrowserFormWebPart members

Microsoft.Office.InfoPath.Server.Controls.WebUI namespace