C# Class Phresco.SharePoint.CFT_RegEx.CustomFieldTypeRegEx

Inheritance: SPFieldText
Afficher le fichier Open project: photon-infotech/sharepoint-resource-management Class Usage Examples

Méthodes publiques

Méthode Description
CustomFieldTypeRegEx ( SPFieldCollection fields, string fieldName ) : System
CustomFieldTypeRegEx ( SPFieldCollection fields, string typeName, string displayName ) : System
GetCustomProperty ( string propertyName ) : object

Replace the buggy base implementation of GetCustomProperty

GetValidatedString ( object value ) : string
OnAdded ( SPAddFieldOptions op ) : void

Called when a field is created. Without this, update is not called and custom properties are not saved.

SetCustomProperty ( string propertyName, object propertyValue ) : void

Replace the buggy base implementation of SetCustomProperty

Update ( ) : void

Private Methods

Méthode Description
GetCacheKey ( string propertyName ) : string

Get an identifier for the field being added/edited that will be unique even if another user is editing a property of the same name.

InitProperties ( ) : void

Initialise backing fields from base property store

SaveProperties ( ) : void

Take properties from either the backing fields or the static store and put them in the base property store

Method Details

CustomFieldTypeRegEx() public méthode

public CustomFieldTypeRegEx ( SPFieldCollection fields, string fieldName ) : System
fields SPFieldCollection
fieldName string
Résultat System

CustomFieldTypeRegEx() public méthode

public CustomFieldTypeRegEx ( SPFieldCollection fields, string typeName, string displayName ) : System
fields SPFieldCollection
typeName string
displayName string
Résultat System

GetCustomProperty() public méthode

Replace the buggy base implementation of GetCustomProperty
public GetCustomProperty ( string propertyName ) : object
propertyName string
Résultat object

GetValidatedString() public méthode

public GetValidatedString ( object value ) : string
value object
Résultat string

OnAdded() public méthode

Called when a field is created. Without this, update is not called and custom properties are not saved.
public OnAdded ( SPAddFieldOptions op ) : void
op SPAddFieldOptions
Résultat void

SetCustomProperty() public méthode

Replace the buggy base implementation of SetCustomProperty
public SetCustomProperty ( string propertyName, object propertyValue ) : void
propertyName string
propertyValue object
Résultat void

Update() public méthode

public Update ( ) : void
Résultat void