ContentTypeIdFieldType ContentTypeIdFieldType ContentTypeIdFieldType Constructors

Definition

Overloads

ContentTypeIdFieldType(SPFieldCollection, String) ContentTypeIdFieldType(SPFieldCollection, String) ContentTypeIdFieldType(SPFieldCollection, String)

Initializes a new instance of the ContentTypeIdFieldType class.

ContentTypeIdFieldType(SPFieldCollection, String, String) ContentTypeIdFieldType(SPFieldCollection, String, String) ContentTypeIdFieldType(SPFieldCollection, String, String)

Initializes a new instance of the ContentTypeIdFieldType class.

ContentTypeIdFieldType(SPFieldCollection, String) ContentTypeIdFieldType(SPFieldCollection, String) ContentTypeIdFieldType(SPFieldCollection, String)

Initializes a new instance of the ContentTypeIdFieldType class.

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

Collection of fields into which to add the newly constructed ContentTypeIdFieldTypeobject.

fieldName
String String String

Name of the field to create.

ContentTypeIdFieldType(SPFieldCollection, String, String) ContentTypeIdFieldType(SPFieldCollection, String, String) ContentTypeIdFieldType(SPFieldCollection, String, String)

Initializes a new instance of the ContentTypeIdFieldType class.

public:
 ContentTypeIdFieldType(Microsoft::SharePoint::SPFieldCollection ^ fields, System::String ^ typeName, System::String ^ displayName);
public ContentTypeIdFieldType (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

Collection of fields into which to add the newly constructed ContentTypeIdFieldType object.

typeName
String String String

Name of the type of new field to add.

displayName
String String String

Display name for the new field.

Applies to