public static UserDefinedPropertyDefinition Create( Project pProject, string strName, UserDefinedPropertyDefinition.Enums.ClientType[] nClients, PropertyDefinition.PropertyType pType )
Parameters
| Parameter Name | Description |
|---|---|
| pProject | Project to which definition will be assigned. |
| strName | Identifying name of the property. |
| nClients | Possible usages of user-defined property definition. |
| pType | Type of property. There are five accepted types: MultiLangString, String, Bool, Double and Long. |
Return Value
Returns an object which represents new property definition or
NULL if property definition can't be created.