Interface IOutbuildingDataIntegrationCom
- 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("5731391F-6A81-43C2-97A7-142DD7BE4EE7")]
public interface IOutbuildingDataIntegrationCom : IDisposable
Methods
AddAdu(string)
Adds an ADU to this outbuilding.
IOutbuildingAduDataIntegrationCom AddAdu(string name)
Parameters
namestringThe 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.
int AduCount()
Returns
- int
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
void Dispose()
GetAdu(int)
Gets the specified ADU associated with this outbuilding.
IOutbuildingAduDataIntegrationCom GetAdu(int index)
Parameters
indexintThe 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.
IFieldsIndexIntegrationCom GetFields()
Returns
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.
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.
string GetOutbuildingTypeOtherDescription()
Returns
- string
The outbuilding's description when the outbuilding's type is Other.
OutbuildingIndex()
Gets the outbuilding's index.
int OutbuildingIndex()
Returns
- int
The outbuilding's index.
RemoveAdu(int)
Removes the specified ADU from this outbuilding.
void RemoveAdu(int index)
Parameters
indexintThe ADU's index.
SetOutbuildingType(string)
Sets the outbuilding's type.
void SetOutbuildingType(string outbuildingType)
Parameters
outbuildingTypestringThe 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.
void SetOutbuildingTypeOtherDescription(string description)
Parameters
descriptionstringThe outbuilding's description when the outbuilding's type is Other.