STK AgAttrAutomationSend comments on this topic.
AddRelFileDispatchProperty Method (IAgAttrBuilder)
See Also
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 relative file path (as string).
FileType
File type for file find.
FileFilter
File filter (for instance: "*.txt").
Flags
Bitwise combination of AgEAttrAddFlags flags.
Windows





Windows & Linux

Description

Add an Attribute of type relative file path (string) 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.

Syntax

[Visual Basic .NET]
Public Sub AddRelFileDispatchProperty( _
    ByVal DispScope As Object, _
    ByVal Name As String, _
    ByVal Description As String, _
    ByVal PropName As String, _
    ByVal FileType As String, _
    ByVal FileFilter As String, _
    ByVal Flags As Integer _
)
[C#]
public void AddRelFileDispatchProperty(
    Object DispScope,
    string Name,
    string Description,
    string PropName,
    string FileType,
    string FileFilter,
    int Flags
);
[Managed C++]
public: void AddRelFileDispatchProperty(
    IUnknown ^ DispScope,
    String __gc ^ Name,
    String __gc ^ Description,
    String __gc ^ PropName,
    String __gc ^ FileType,
    String __gc ^ FileFilter,
    int Flags
);
[Unmanaged C++]
public: HRESULT AddRelFileDispatchProperty(
    IUnknown * DispScope,
    BSTR Name,
    BSTR Description,
    BSTR PropName,
    BSTR FileType,
    BSTR FileFilter,
    long Flags
);
[Java]
public void addRelFileDispatchProperty(
    Object DispScope,
    String Name,
    String Description,
    String PropName,
    String FileType,
    String FileFilter,
    int Flags
);

Parameters

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 relative file path (as string).
FileType
File type for file find.
FileFilter
File filter (for instance: "*.txt").
Flags
Bitwise combination of AgEAttrAddFlags flags.

See Also

© 2024 Analytical Graphics, Inc. All Rights Reserved.