Click or drag to resize
PropertiesTPropKey, TPropValue Class
Provides a collection of properties, each of which is a key/value pair. Each key is a string, and the value may be a string or an integer.
Inheritance Hierarchy
SystemObject
  [T:GemStone.GemFire.Cache.Generic.Internal.SBWrap<gemfire::Properties>]
    GemStone.GemFire.Cache.GenericPropertiesTPropKey, TPropValue

Namespace: GemStone.GemFire.Cache.Generic
Assembly: Gemstone.Gemfire.Cache (in Gemstone.Gemfire.Cache.dll) Version: 9.0.6.18
Syntax
[SerializableAttribute]
public sealed class Properties<TPropKey, TPropValue> : [T:GemStone.GemFire.Cache.Generic.Internal.SBWrap<gemfire::Properties>], 
	IGFSerializable, ISerializable

Type Parameters

TPropKey
TPropValue

The PropertiesTPropKey, TPropValue type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyClassId
Returns the classId of this class for serialization.
Public propertyNativeIntPtr
Get the underlying native unmanaged pointer.
Public propertyObjectSize
return the size of this object in bytes
Public propertySize
Return the number of entries in the collection.
Top
Methods
  NameDescription
Public methodAddAll
Public methodStatic memberCreateTPropKey, TPropValue
Factory method to create an empty collection of properties.
Public methodStatic memberCreateFromVoidPtrTPropKey, TPropValue
Internal factory function to wrap a native object pointer inside this managed class with null pointer check.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodFind
Return the value for the given key, or NULL if not found.
Public methodForEach
Public methodFromData
Deserializes this Properties object.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetObjectData
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInsert
Add or update the string value for key.
Public methodLoad
Reads property values from a file, overriding what is currently in the properties object.
Public methodRemove
Remove the key from the collection.
Public methodToData
Serializes this Properties object.
Public methodToString
Returns a string representation of the current Properties object.
(Overrides ObjectToString.)
Top
See Also