SPFieldCollection.Add SPFieldCollection.Add SPFieldCollection.Add Method

Definition

Overloads

Add(SPField) Add(SPField) Add(SPField)
Add(String, SPFieldType, Boolean) Add(String, SPFieldType, Boolean) Add(String, SPFieldType, Boolean)
Add(String, SPFieldType, Boolean, Boolean, StringCollection) Add(String, SPFieldType, Boolean, Boolean, StringCollection) Add(String, SPFieldType, Boolean, Boolean, StringCollection)

Add(SPField) Add(SPField) Add(SPField)

public:
 System::String ^ Add(Microsoft::SharePoint::SPField ^ field);
public string Add (Microsoft.SharePoint.SPField field);
Public Function Add (field As SPField) As String
Parameters
Returns

Add(String, SPFieldType, Boolean) Add(String, SPFieldType, Boolean) Add(String, SPFieldType, Boolean)

public:
 System::String ^ Add(System::String ^ strDisplayName, Microsoft::SharePoint::SPFieldType type, bool bRequired);
public string Add (string strDisplayName, Microsoft.SharePoint.SPFieldType type, bool bRequired);
Public Function Add (strDisplayName As String, type As SPFieldType, bRequired As Boolean) As String
Parameters
strDisplayName
String String String
bRequired
Boolean Boolean Boolean
Returns

Add(String, SPFieldType, Boolean, Boolean, StringCollection) Add(String, SPFieldType, Boolean, Boolean, StringCollection) Add(String, SPFieldType, Boolean, Boolean, StringCollection)

public:
 System::String ^ Add(System::String ^ strDisplayName, Microsoft::SharePoint::SPFieldType type, bool bRequired, bool bCompactName, System::Collections::Specialized::StringCollection ^ choices);
public string Add (string strDisplayName, Microsoft.SharePoint.SPFieldType type, bool bRequired, bool bCompactName, System.Collections.Specialized.StringCollection choices);
Public Function Add (strDisplayName As String, type As SPFieldType, bRequired As Boolean, bCompactName As Boolean, choices As StringCollection) As String
Parameters
strDisplayName
String String String
bRequired
Boolean Boolean Boolean
bCompactName
Boolean Boolean Boolean
Returns

Applies to