An immutable string wrapper that can serve as a distributable key object for caching as well as being a string value.

Namespace: GemStone.GemFire.Cache
Assembly: GemStone.GemFire.Cache (in GemStone.GemFire.Cache.dll) Version: 8.2.4.0

Syntax

         
 C#  Visual Basic  Visual C++ 
[ObsoleteAttribute("Use classes and APIs from the GemStone.GemFire.Cache.Generic namespace")]
public class CacheableString : CacheableKey
<ObsoleteAttribute("Use classes and APIs from the GemStone.GemFire.Cache.Generic namespace")> _
Public Class CacheableString _
	Inherits CacheableKey
[ObsoleteAttribute(L"Use classes and APIs from the GemStone.GemFire.Cache.Generic namespace")]
public ref class CacheableString : public CacheableKey

Members

            
 All Members  Constructors   Properties   Methods  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
CacheableString(array<Char>[]()[][])
Allocates a new instance copying from the given character array.
CacheableString(String)
Allocates a new instance copying from the given string.
ClassId (Overrides Serializable..::..ClassId.)
Create(array<Char>[]()[][])
Static function to create a new instance copying from the given character array.
Create(String)
Static function to create a new instance copying from the given string.
Equals(Object)
Return true if this key matches other object. It invokes the '==' operator of the underlying gemfire::CacheableString object.
(Overrides CacheableKey..::..Equals(Object).)
Equals(ICacheableKey)
Return true if this key matches other object. It invokes the '==' operator of the underlying gemfire::CacheableString object.
(Overrides CacheableKey..::..Equals(ICacheableKey).)
Finalize()()()()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
FromData(DataInput)
Deserializes the managed object -- returns an instance of the IGFSerializable class.
(Overrides Serializable..::..FromData(DataInput).)
GetHashCode()()()()
Return the hashcode for this key.
(Overrides CacheableKey..::..GetHashCode()()()().)
GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
ImplicitWideningImplicitImplicitImplicit(CacheableString to String)
Implicit conversion operator to underlying System.String.
IsNullOrEmpty(CacheableString)
Static function to check whether IsNullOrEmpty.
IsWideString
True when the underlying C string is a wide-character string.
Length
Gets the length of the underlying C string.
MemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
ObjectSize
return the size of this object in bytes
(Overrides Serializable..::..ObjectSize.)
ToData(DataOutput)
Serializes this managed object.
(Overrides Serializable..::..ToData(DataOutput).)
ToString()()()()
Return a string representation of the object. This returns the same string as Value property.
(Overrides Serializable..::..ToString()()()().)
Value
Gets the string value.

Inheritance Hierarchy

System..::..Object
  [T:GemStone.GemFire.Cache.Internal.SBWrap<gemfire::Serializable>]
    GemStone.GemFire.Cache..::..Serializable
      GemStone.GemFire.Cache..::..CacheableKey
        GemStone.GemFire.Cache..::..CacheableString

See Also