public static UserDefinedPropertyDefinition Create( Project pProject, string strName, UserDefinedPropertyDefinition.Enums.ClientType[] nClients, PropertyDefinition.PropertyType pType )
Parameters
- 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
andLong
.
Return Value
Returns an object which represents new property definition or
null
if property definition can't be created.