 | ObjectPathRendererWrapperTryGetPropertyValue Method |
Lookup property-value from source object based on
ObjectPath
Namespace:
NLog.LayoutRenderers.Wrappers
Assembly:
NLog (in NLog.dll) Version: 6.0.0+cfb73701cda54e2410b006f649f072e90daef707
Syntaxpublic bool TryGetPropertyValue(
Object sourceObject,
out Object?? propertyValue
)
Public Function TryGetPropertyValue (
sourceObject As Object,
<OutAttribute> ByRef propertyValue As Object
) As Boolean
Dim instance As ObjectPathRendererWrapper
Dim sourceObject As Object
Dim propertyValue As Object
Dim returnValue As Boolean
returnValue = instance.TryGetPropertyValue(sourceObject,
propertyValue)
member TryGetPropertyValue :
sourceObject : Object *
propertyValue : Object byref -> bool
Parameters
- sourceObject
- Type: SystemObject
- propertyValue
- Type: SystemObject
Return Value
Type:
BooleanCould resolve property-value?
See Also