[This is preliminary documentation and is subject to change.]
Adds an attribute
Namespace:
OfficeClip.DBLayer.MetabaseAssembly: OfficeClip.DBLayer (in OfficeClip.DBLayer)
Version: 8.1.1.0
Syntax
C# |
---|
public int AddAttribute( MetaConstants..::.MetaEntity me, int externalId, MetaConstants..::.MetaType mt, string attributeName, int roleId, bool isPreferred, bool isRequired ) |
Visual Basic (Declaration) |
---|
Public Function AddAttribute ( _ me As MetaConstants..::.MetaEntity, _ externalId As Integer, _ mt As MetaConstants..::.MetaType, _ attributeName As String, _ roleId As Integer, _ isPreferred As Boolean, _ isRequired As Boolean _ ) As Integer |
Visual C++ |
---|
public: int AddAttribute( MetaConstants..::.MetaEntity me, int externalId, MetaConstants..::.MetaType mt, String^ attributeName, int roleId, bool isPreferred, bool isRequired ) |
Parameters
- me
- Type: OfficeClip.BusinessLayer.Metabase..::.MetaConstants..::.MetaEntity
The meta entity
- externalId
- Type: System..::.Int32
The external id , for example the group Id
- mt
- Type: OfficeClip.BusinessLayer.Metabase..::.MetaConstants..::.MetaType
The meta type
- attributeName
- Type: System..::.String
The name of the attribute
- roleId
- Type: System..::.Int32
The unique id of the role
- isPreferred
- Type: System..::.Boolean
Is the attribute preferred
- isRequired
- Type: System..::.Boolean
Is the attribute required