HtmlField HtmlField HtmlField Constructors

Definition

Overloads

HtmlField(SPFieldCollection, String) HtmlField(SPFieldCollection, String) HtmlField(SPFieldCollection, String)

Initializes a new instance of the HtmlField object.

HtmlField(SPFieldCollection, String, String) HtmlField(SPFieldCollection, String, String) HtmlField(SPFieldCollection, String, String)

Initializes a new instance of the HtmlField object for addition to a field collection.

HtmlField(SPFieldCollection, String) HtmlField(SPFieldCollection, String) HtmlField(SPFieldCollection, String)

Initializes a new instance of the HtmlField object.

public:
 HtmlField(Microsoft::SharePoint::SPFieldCollection ^ fields, System::String ^ fieldName);
public HtmlField (Microsoft.SharePoint.SPFieldCollection fields, string fieldName);
Public Sub New (fields As SPFieldCollection, fieldName As String)
Parameters
fields
SPFieldCollection SPFieldCollection SPFieldCollection

The collection of fields

fieldName
String String String

The name of the field to create from the SPFieldCollection object.

HtmlField(SPFieldCollection, String, String) HtmlField(SPFieldCollection, String, String) HtmlField(SPFieldCollection, String, String)

Initializes a new instance of the HtmlField object for addition to a field collection.

public:
 HtmlField(Microsoft::SharePoint::SPFieldCollection ^ fields, System::String ^ typeName, System::String ^ displayName);
public HtmlField (Microsoft.SharePoint.SPFieldCollection fields, string typeName, string displayName);
Public Sub New (fields As SPFieldCollection, typeName As String, displayName As String)
Parameters
fields
SPFieldCollection SPFieldCollection SPFieldCollection

The collection of fields into which to add the field.

typeName
String String String

The name of the type of new field to add.

displayName
String String String

The display name for the new field.

Applies to