Table of Contents

Class OutbuildingDataIntegrationCom

Namespace
Sfrep.AppraiseIt.Client.Integration.Com.DataStore
Assembly
Sfrep.AppraiseIt.Client.Integration.Com.dll

Encapsulate's a property's outbuilding in the dynamic data store.

[ComVisible(true)]
[Guid("A00E326E-F665-4CAA-A9AE-916F2F0A7B44")]
[ClassInterface(ClassInterfaceType.None)]
public sealed class OutbuildingDataIntegrationCom : IOutbuildingDataIntegrationCom, IDisposable
Inheritance
object
OutbuildingDataIntegrationCom
Implements
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()

Constructors

OutbuildingDataIntegrationCom()

This no args constructor is required for COM support and should not be called directly.

public OutbuildingDataIntegrationCom()

Methods

AddAdu(string)

Adds an ADU to this outbuilding.

public IOutbuildingAduDataIntegrationCom AddAdu(string name)

Parameters

name string

The ADU's name.

Returns

IOutbuildingAduDataIntegrationCom

The newly added ADU.

Remarks

Each call returns a new instance that, to prevent resource leaks, must be disposed by calling the Dispose method once it is no longer needed.

AduCount()

Gets the number of ADUs associated with this outbuilding.

public int AduCount()

Returns

int

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

public void Dispose()

GetAdu(int)

Gets the specified ADU associated with this outbuilding.

public IOutbuildingAduDataIntegrationCom GetAdu(int index)

Parameters

index int

The ADU's index.

Returns

IOutbuildingAduDataIntegrationCom

The ADU.

Remarks

Each call returns a new instance that, to prevent resource leaks, must be disposed by calling the Dispose method once it is no longer needed.

GetFields()

Gets the field data for this outbuilding.

public IFieldsIndexIntegrationCom GetFields()

Returns

IFieldsIndexIntegrationCom

Remarks

Each call returns a new instance that, to prevent resource leaks, must be disposed by calling the Dispose method once it is no longer needed.

GetOutbuildingType()

Gets the outbuilding's type.

public string GetOutbuildingType()

Returns

string

The outbuilding's type.

Remarks

Supported values:

  • None
  • Barn
  • Boathouse
  • Bunkhouse
  • EnclosedKennel
  • Greenhouse
  • GuestHouse
  • IndoorRidingArena
  • ManufacturedHome
  • Office
  • Other
  • PoolHouse
  • Shed
  • Silo
  • Stable
  • StandaloneAdu
  • Studio
  • Workshop

GetOutbuildingTypeOtherDescription()

Gets the outbuilding's description when the outbuilding's type is Other.

public string GetOutbuildingTypeOtherDescription()

Returns

string

The outbuilding's description when the outbuilding's type is Other.

OutbuildingIndex()

Gets the outbuilding's index.

public int OutbuildingIndex()

Returns

int

The outbuilding's index.

RemoveAdu(int)

Removes the specified ADU from this outbuilding.

public void RemoveAdu(int index)

Parameters

index int

The ADU's index.

SetOutbuildingType(string)

Sets the outbuilding's type.

public void SetOutbuildingType(string outbuildingType)

Parameters

outbuildingType string

The outbuilding's type.

Remarks

Supported values:

  • None
  • Barn
  • Boathouse
  • Bunkhouse
  • EnclosedKennel
  • Greenhouse
  • GuestHouse
  • IndoorRidingArena
  • ManufacturedHome
  • Office
  • Other
  • PoolHouse
  • Shed
  • Silo
  • Stable
  • StandaloneAdu
  • Studio
  • Workshop

SetOutbuildingTypeOtherDescription(string)

Sets the outbuilding's description when the outbuilding's type is Other.

public void SetOutbuildingTypeOtherDescription(string description)

Parameters

description string

The outbuilding's description when the outbuilding's type is Other.