Share via


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