Click or drag to resize

JsonMapGeneratorGetMappingAttribute Method

Gets the JsonMappingAttribute of a data member for a specific mapping target if one exists.

Namespace:  MFiles.VAF.Configuration.JsonMapping
Assembly:  MFiles.VAF.Configuration (in MFiles.VAF.Configuration.dll) Version: 2.1.0.1 (2.1.0.1)
Syntax
C#
public JsonMappingAttribute GetMappingAttribute(
	DataMemberInfo dataMember,
	string target
)

Parameters

dataMember
Type: MFiles.VAF.Configuration.JsonMappingDataMemberInfo
The data member to get the attribute for.
target
Type: SystemString
The JSON format the attribute should target.

Return Value

Type: JsonMappingAttribute
An applicable attribute if found, null otherwise.
See Also