ArcFM Engine Developer Guide
IMMSearchStrategy Interface
Members 


This interface contains the method that executes a search given the IMMSearchConfiguration object. It returns an IMMSearchResults object.
Available at Version
Product Availability
Required Licenses
.NET Assembly
Syntax
'Declaration
 
<GuidAttribute("1124C0E3-B739-4CFC-8A82-527175435DCF")>
<TypeLibTypeAttribute(TypeLibTypeFlags.FOleAutomation)>
<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)>
<ComImportAttribute()>
Public Interface IMMSearchStrategy 
'Usage
 
Dim instance As IMMSearchStrategy
[Guid("1124C0E3-B739-4CFC-8A82-527175435DCF")]
[TypeLibType(TypeLibTypeFlags.FOleAutomation)]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[ComImport()]
public interface IMMSearchStrategy 
Example

This is the first few lines of a search strategy which can search an object class for a specific value in a field identified by a model name. Here I have used a nested class to pass the parameters. The names and types of the parameters are already here and it is clear what class should be passed as the search parameters object.

public class FieldModelNameObjectClassSearchStrategy : IMMSearchStrategy
{
    public class SearchParameters
    {
        public IObjectClass ObjectClass;
        public string FieldModelName;
        public object Value;
    }
Requirements

Target Platforms: Windows XP SP3 (32-bit and 64-bit), Windows 7 (32-bit and 64-bit)

Not all Operating Systems are supported on all products. Visit the ArcFM Solution Supported Versions page for full details.

See Also

Reference

IMMSearchStrategy Members
Miner.Interop Namespace

This interface contains the method that executes a search given the IMMSearchConfiguration object. It returns an IMMSearchResults object.
Syntax
'Declaration
 
<GuidAttribute("1124C0E3-B739-4CFC-8A82-527175435DCF")>
<TypeLibTypeAttribute(TypeLibTypeFlags.FOleAutomation)>
<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)>
<ComImportAttribute()>
Public Interface IMMSearchStrategy 
'Usage
 
Dim instance As IMMSearchStrategy
[Guid("1124C0E3-B739-4CFC-8A82-527175435DCF")]
[TypeLibType(TypeLibTypeFlags.FOleAutomation)]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[ComImport()]
public interface IMMSearchStrategy 
Example

This is the first few lines of a search strategy which can search an object class for a specific value in a field identified by a model name. Here I have used a nested class to pass the parameters. The names and types of the parameters are already here and it is clear what class should be passed as the search parameters object.

public class FieldModelNameObjectClassSearchStrategy : IMMSearchStrategy
{
    public class SearchParameters
    {
        public IObjectClass ObjectClass;
        public string FieldModelName;
        public object Value;
    }
Inheritance Hierarchy

Miner.Interop.IMMSearchStrategy

Requirements

Target Platforms: Windows XP SP3 (32-bit and 64-bit), Windows 7 (32-bit and 64-bit)

Not all Operating Systems are supported on all products. Visit the ArcFM Solution Supported Versions page for full details.

See Also

Reference

IMMSearchStrategy Members
Miner.Interop Namespace

 

 


Send Comment