Add an Attribute of type quantity with a min to the Attribute Scope. It is recommended that any name used for these configuration properties not include spaces because certain interfaces to the properties may not work correctly.
[Visual Basic .NET] |
---|
Public Sub AddQuantityMinDispatchProperty2( _ 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 Flags As Integer _ ) |
[C#] |
---|
public void AddQuantityMinDispatchProperty2( Object DispScope, string Name, string Description, string PropName, string Dimension, string DisplayUnit, string InternalUnit, double MinVal, int Flags ); |
[Managed C++] |
---|
public: void AddQuantityMinDispatchProperty2( IUnknown ^ DispScope, String __gc ^ Name, String __gc ^ Description, String __gc ^ PropName, String __gc ^ Dimension, String __gc ^ DisplayUnit, String __gc ^ InternalUnit, double MinVal, int Flags ); |
[Unmanaged C++] |
---|
public: HRESULT AddQuantityMinDispatchProperty2( IUnknown * DispScope, BSTR Name, BSTR Description, BSTR PropName, BSTR Dimension, BSTR DisplayUnit, BSTR InternalUnit, double MinVal, long Flags ); |
[Java] |
---|
public void addQuantityMinDispatchProperty2( Object DispScope, String Name, String Description, String PropName, String Dimension, String DisplayUnit, String InternalUnit, double MinVal, int Flags ); |
- DispScope
- The attribute container (scope) where the attribute will be added.
- Name
- Name of the attribute to add, it is recommended that the name does not include spaces because certain interfaces to the properties may not work correctly.
- Description
- Description of the attribute to add.
- PropName
- Name of the property to be called to set/get the value 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).
- Flags
- Bitwise combination of AgEAttrAddFlags flags.