[This is preliminary documentation and is subject to change.]
Registers item and returns true if it was registered, false if this named instance already existed and was replaced
Namespace: NFXAssembly: NFX (in NFX.dll) Version: 3.0.0.1 (3.0.0.1)
public bool RegisterOrReplace(
T item,
out T existing
)
public bool RegisterOrReplace(
T item,
out T existing
)
Public Function RegisterOrReplace (
item As T,
<OutAttribute> ByRef existing As T
) As Boolean
Public Function RegisterOrReplace (
item As T,
<OutAttribute> ByRef existing As T
) As Boolean
public:
bool RegisterOrReplace(
T item,
[OutAttribute] T% existing
)
public:
bool RegisterOrReplace(
T item,
[OutAttribute] T% existing
)
member RegisterOrReplace :
item : 'T *
existing : 'T byref -> boolmember RegisterOrReplace :
item : 'T *
existing : 'T byref -> boolParameters
- item
- Type: T
- existing
- Type: T
Return Value
Type:
Boolean