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 |
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
|
public CustomFieldTypeRegEx ( SPFieldCollection fields, string fieldName ) : System | ||
fields | SPFieldCollection | |
fieldName | string | |
Résultat | System |
public CustomFieldTypeRegEx ( SPFieldCollection fields, string typeName, string displayName ) : System | ||
fields | SPFieldCollection | |
typeName | string | |
displayName | string | |
Résultat | System |
public GetCustomProperty ( string propertyName ) : object | ||
propertyName | string | |
Résultat | object |
public GetValidatedString ( object value ) : string | ||
value | object | |
Résultat | string |
public OnAdded ( SPAddFieldOptions op ) : void | ||
op | SPAddFieldOptions | |
Résultat | void |
public SetCustomProperty ( string propertyName, object propertyValue ) : void | ||
propertyName | string | |
propertyValue | object | |
Résultat | void |