Cache.GetRegion<TKey, TValue> Method |
Returns an existing region given the full path from root, or null
if no such region exists.
Namespace: GemStone.GemFire.Cache.GenericAssembly: Gemstone.Gemfire.Cache (in Gemstone.Gemfire.Cache.dll) Version: 9.0.6.18
Syntaxpublic IRegion<TKey, TValue> GetRegion<TKey, TValue>(
string path
)
Public Function GetRegion(Of TKey, TValue) (
path As String
) As IRegion(Of TKey, TValue)
public:
generic<typename TKey, typename TValue>
virtual IRegion<TKey, TValue>^ GetRegion(
String^ path
) sealed
abstract GetRegion :
path : string -> IRegion<'TKey, 'TValue>
override GetRegion :
path : string -> IRegion<'TKey, 'TValue>
Parameters
- path
- Type: System.String
the pathname of the region
Type Parameters
- TKey
- TValue
Return Value
Type:
IRegion<TKey,
TValue>the region
Remarks
If Pool attached with Region is in multiusersecure mode then don't use return instance of region as no credential are attached with this instance.
Get region from RegionService instance of Cache.[!:Cache.CreateAuthenticatedView(PropertiesPtr)].
See Also