protected T Get<T>(
T defaultValue = null,
string propertyName = null
)
Protected Function Get(Of T) (
Optional defaultValue As T = Nothing,
Optional propertyName As String = Nothing
) As T
protected:
generic<typename T>
T Get(
T defaultValue = nullptr,
String^ propertyName = nullptr
)
member Get :
?defaultValue : 'T *
?propertyName : string
(* Defaults:
let _defaultValue = defaultArg defaultValue null
let _propertyName = defaultArg propertyName null
*)
-> 'T
ArgumentNullException | propertyName is . |
InvalidOperationException | propertyName cannot be retrieved.
-or- CanGetProperty is not overridden and propertyName is not an actual instance property in this instance. |
ObjectDisposedException | IsDisposed returns whereas AllowReadingDisposedObject returns . |