ExpansionContextTSafeCastT2 Method |
Casts the context to an enumerable list of type T safely.
If the cast is not valid, null is returned.
Namespace:
MFiles.VAF.Placeholders
Assembly:
MFiles.VAF (in MFiles.VAF.dll) Version: 2.3.623.2
Syntaxpublic virtual IEnumerable<T2> SafeCast<T2>()
Public Overridable Function SafeCast(Of T2) As IEnumerable(Of T2)
public:
generic<typename T2>
virtual IEnumerable<T2>^ SafeCast()
Type Parameters
- T2
- The type to cast each context value to.
Return Value
Type:
IEnumerableT2Pre-cast collection of values from this expansion context.
See Also