IReadableLocator.Get Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Get(Object) | |
Get(Object, SearchMode) | |
Get<TItem>() | |
Get<TItem>(Object) | |
Get<TItem>(Object, SearchMode) |
Get(Object)
Get(Object, SearchMode)
public:
System::Object ^ Get(System::Object ^ key, Microsoft::Practices::ObjectBuilder::SearchMode options);
public object Get (object key, Microsoft.Practices.ObjectBuilder.SearchMode options);
abstract member Get : obj * Microsoft.Practices.ObjectBuilder.SearchMode -> obj
Public Function Get (key As Object, options As SearchMode) As Object
Parameters
- key
- Object
- options
- SearchMode
Returns
Applies to
Get<TItem>()
public:
generic <typename TItem>
TItem Get();
public TItem Get<TItem> ();
abstract member Get : unit -> 'Item
Public Function Get(Of TItem) () As TItem
Type Parameters
- TItem
Returns
TItem
Applies to
Get<TItem>(Object)
public:
generic <typename TItem>
TItem Get(System::Object ^ key);
public TItem Get<TItem> (object key);
abstract member Get : obj -> 'Item
Public Function Get(Of TItem) (key As Object) As TItem
Type Parameters
- TItem
Parameters
- key
- Object
Returns
TItem
Applies to
Get<TItem>(Object, SearchMode)
public:
generic <typename TItem>
TItem Get(System::Object ^ key, Microsoft::Practices::ObjectBuilder::SearchMode options);
public TItem Get<TItem> (object key, Microsoft.Practices.ObjectBuilder.SearchMode options);
abstract member Get : obj * Microsoft.Practices.ObjectBuilder.SearchMode -> 'Item
Public Function Get(Of TItem) (key As Object, options As SearchMode) As TItem
Type Parameters
- TItem
Parameters
- key
- Object
- options
- SearchMode
Returns
TItem