Add an Attribute of type quantity to the
Attribute Scope.
[Visual Basic .NET] |
---|
Public Sub AddQuantityMinMaxDispatchProperty2( _
ByVal DispScope As Object, _
ByVal Name As String, _
ByVal Description As String, _
ByVal PropName As String, _
ByVal Dimension As String, _
ByVal DisplayUnit As String, _
ByVal InternalUnit As String, _
ByVal MinVal As Double, _
ByVal MaxVal As Double, _
ByVal Flags As Integer _
)
|
[C#] |
---|
public void AddQuantityMinMaxDispatchProperty2(
|
[Managed C++] |
---|
public: void AddQuantityMinMaxDispatchProperty2(
|
[Java] |
---|
public addQuantityMinMaxDispatchProperty2(
|
[Unmanaged C++] |
---|
public: HRESULT AddQuantityMinMaxDispatchProperty2(
|
- DispScope
- The attribute container (scope) where the attribute will be added.
- Name
- Name of the attribute to add.
- Description
- Description of the attribute to add.
- PropName
- Name of the property to be called to set/get the values of this attribute. The property must be of the type quantity (as double).
- Dimension
- Dimension associated with this quantity.
- DisplayUnit
- Default display units (used in the User Interface).
- InternalUnit
- Unit used to set/get the PropName property.
- MinVal
- Minimum value allowed (as double).
- MaxVal
- Maximum value allowed (as double).
- Flags
- Bitwise combination of AgEAttrAddFlags flags.