AGI AgAttrAutomation 11 Send comments on this topic.
AddDateDispatchProperty Method (IAgAttrBuilder)
See Also 
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 value of this attribute. The property must be of the type Date (represented as a double in EpSec).
Flags
Bitwise combination of AgEAttrAddFlags flags.





Description

Add an Attribute of type date (represented as a double in EpSec) to the Attribute Scope.

Syntax

[Visual Basic .NET]
Public Sub AddDateDispatchProperty( _
   ByVal DispScope As Object, _
   ByVal Name As String, _
   ByVal Description As String, _
   ByVal PropName As String, _
   ByVal Flags As Integer _
) 

[C#]
public void AddDateDispatchProperty(
Object DispScope,
string Name,
string Description,
string PropName,
int Flags
);

[Managed C++]
public: void AddDateDispatchProperty(
IUnknown ^ DispScope,
String __gc ^ Name,
String __gc ^ Description,
String __gc ^ PropName,
int Flags
);

[Java]
public  addDateDispatchProperty(
Object DispScope,
String Name,
String Description,
String PropName,
int Flags
);

[Unmanaged C++]
public: HRESULT AddDateDispatchProperty(
IUnknown * DispScope,
BSTR Name,
BSTR Description,
BSTR PropName,
long Flags
);

Parameters

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 value of this attribute. The property must be of the type Date (represented as a double in EpSec).
Flags
Bitwise combination of AgEAttrAddFlags flags.

See Also

© 2016 Analytical Graphics, Inc. All Rights Reserved.

STK Programming Interface 11.0.1