Gets a value for a given key from a Memcached Bucket on a Couchbase Server.
Namespace: CouchbaseAssembly: Couchbase.NetClient (in Couchbase.NetClient.dll) Version: 2.0.0.0 (2.0.0.0)
Syntaxpublic IOperationResult<T> Get<T>(
string key
)
public IOperationResult<T> Get<T>(
string key
)
Public Function Get(Of T) (
key As String
) As IOperationResult(Of T)
Public Function Get(Of T) (
key As String
) As IOperationResult(Of T)
public:
generic<typename T>
virtual IOperationResult<T>^ Get(
String^ key
) sealed
public:
generic<typename T>
virtual IOperationResult<T>^ Get(
String^ key
) sealed
abstract Get :
key : string -> IOperationResult<'T>
override Get :
key : string -> IOperationResult<'T>
abstract Get :
key : string -> IOperationResult<'T>
override Get :
key : string -> IOperationResult<'T>
Parameters
- key
- Type: System.String
The unique Key to use to lookup the value.
Type Parameters- T
- The Type of the value object to be retrieved.
Return Value
Type:
IOperationResult<T>An object implementing the
IOperationResult<T>interface.
Implements
IBucket.Get<T>(String)
See Also