AddAsContentType Property
See Also 
SourceCode.Workflow.Design.InfoPath Namespace > FormTemplateItem Class : AddAsContentType Property



Glossary Item Box

Gets or sets a value indicating whether to add as content type.

Syntax

Visual Basic (Declaration) 
Public Property AddAsContentType As Boolean
Visual Basic (Usage)Copy Code
Dim instance As FormTemplateItem
Dim value As Boolean
 
instance.AddAsContentType = value
 
value = instance.AddAsContentType
C# 
public bool AddAsContentType {get; set;}
C++/CLI 
public:
property bool AddAsContentType {
   bool get();
   void set (    bool value);
}

Property Value

true if adding as content type; otherwise, false.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also