Class MutableRecordBase
A record whose properties can be modified
Inherited Members
Namespace: OSGeo.MapGuide.MaestroAPI.Feature
Assembly: OSGeo.MapGuide.MaestroAPI.dll
Syntax
public class MutableRecordBase : RecordBase, IRecordReset, IMutableRecord, IRecord, IRecordInitialize
Constructors
| Improve this Doc View SourceMutableRecordBase(IRecordInitialize)
Creates a new instance
Declaration
protected MutableRecordBase(IRecordInitialize prototype)
Parameters
Type | Name | Description |
---|---|---|
IRecordInitialize | prototype |
Properties
| Improve this Doc View SourceItem[Int32]
Gets or sets the System.Object at the specified index.
Declaration
public object this[int index] { get; set; }
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index |
Property Value
Type | Description |
---|---|
System.Object |
Item[String]
Gets or sets the System.Object with the specified name.
Declaration
public object this[string name] { get; set; }
Parameters
Type | Name | Description |
---|---|---|
System.String | name |
Property Value
Type | Description |
---|---|
System.Object |
Methods
| Improve this Doc View SourceClonePropertyValue(PropertyValue)
Creates a clone of the specified PropertyValue
Declaration
protected PropertyValue ClonePropertyValue(PropertyValue propertyValue)
Parameters
Type | Name | Description |
---|---|---|
PropertyValue | propertyValue | The instance to clone |
Returns
Type | Description |
---|---|
PropertyValue | The cloned instance |
SetBlob(Int32, Byte[])
Sets the blob value at the specified index
Declaration
public void SetBlob(int index, byte[] value)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | |
System.Byte[] | value |
SetBlob(String, Byte[])
Sets the blob value of the specified property
Declaration
public void SetBlob(string name, byte[] value)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | |
System.Byte[] | value |
SetBoolean(Int32, Boolean)
Sets the boolean value at the specified index
Declaration
public void SetBoolean(int index, bool value)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | |
System.Boolean | value |
SetBoolean(String, Boolean)
Sets the boolean value of the specified property
Declaration
public void SetBoolean(string name, bool value)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | |
System.Boolean | value |
SetByte(Int32, Byte)
Sets the byte value at the specified index
Declaration
public void SetByte(int index, byte value)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | |
System.Byte | value |
SetByte(String, Byte)
Sets the byte value of the specified property
Declaration
public void SetByte(string name, byte value)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | |
System.Byte | value |
SetClob(Int32, Char[])
Sets the clob value at the specified index
Declaration
public void SetClob(int index, char[] value)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | |
System.Char[] | value |
SetClob(String, Char[])
Sets the clob value of the specified property
Declaration
public void SetClob(string name, char[] value)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | |
System.Char[] | value |
SetDateTime(Int32, DateTime)
Sets the datetime value at the specified index
Declaration
public void SetDateTime(int index, DateTime value)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | |
System.DateTime | value |
SetDateTime(String, DateTime)
Sets the datetime value of the specified property
Declaration
public void SetDateTime(string name, DateTime value)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | |
System.DateTime | value |
SetDouble(Int32, Double)
Sets the double value at the specified index
Declaration
public void SetDouble(int index, double value)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | |
System.Double | value |
SetDouble(String, Double)
Sets the double value of the specified property
Declaration
public void SetDouble(string name, double value)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | |
System.Double | value |
SetGeometry(Int32, IGeometryRef)
Sets the geometry value at the specified index
Declaration
public void SetGeometry(int index, IGeometryRef value)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | |
IGeometryRef | value |
SetGeometry(String, IGeometryRef)
Sets the geometry value of the specified property
Declaration
public void SetGeometry(string name, IGeometryRef value)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | |
IGeometryRef | value |
SetInt16(Int32, Int16)
Sets the int16 value at the specified index
Declaration
public void SetInt16(int index, short value)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | |
System.Int16 | value |
SetInt16(String, Int16)
Sets the int16 value of the specified property
Declaration
public void SetInt16(string name, short value)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | |
System.Int16 | value |
SetInt32(Int32, Int32)
Sets the int32 value at the specified index
Declaration
public void SetInt32(int index, int value)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | |
System.Int32 | value |
SetInt32(String, Int32)
Sets the int32 value of the specified property
Declaration
public void SetInt32(string name, int value)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | |
System.Int32 | value |
SetInt64(Int32, Int64)
Sets the int64 value at the specified index
Declaration
public void SetInt64(int index, long value)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | |
System.Int64 | value |
SetInt64(String, Int64)
Sets the int64 value of the specified property
Declaration
public void SetInt64(string name, long value)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | |
System.Int64 | value |
SetNull(Int32)
Sets whether the property value at the specified index has a null property value.
Declaration
public void SetNull(int index)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index |
SetNull(String)
Sets whether the specified property name has a null property value
Declaration
public void SetNull(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name |
SetSingle(Int32, Single)
Sets the single value at the specified index
Declaration
public void SetSingle(int index, float value)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | |
System.Single | value |
SetSingle(String, Single)
Sets the single value of the specified property
Declaration
public void SetSingle(string name, float value)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | |
System.Single | value |
SetString(Int32, String)
Sets the string value at the specified index
Declaration
public void SetString(int index, string value)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | |
System.String | value |
SetString(String, String)
Sets the string value of the specified property
Declaration
public void SetString(string name, string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | |
System.String | value |