JsonAdminCommentPreserverPreserveComments Method (IEnumerableJsonAdminComment, JObject, String) |
Preserves the MFAdmin-compatible comments in the source JSON structure
under a single property in the target structure.
Namespace:
MFiles.VAF.Configuration.JsonMapping
Assembly:
MFiles.VAF.Configuration (in MFiles.VAF.Configuration.dll) Version: 21.8.10524.1
Syntaxpublic void PreserveComments(
IEnumerable<JsonAdminComment> comments,
JObject target,
string commentsPath
)
Public Sub PreserveComments (
comments As IEnumerable(Of JsonAdminComment),
target As JObject,
commentsPath As String
)
public:
void PreserveComments(
IEnumerable<JsonAdminComment^>^ comments,
JObject^ target,
String^ commentsPath
)
Parameters
- comments
- Type: System.Collections.GenericIEnumerableJsonAdminComment
The comments to preserve. - target
- Type: JObject
The target JSON structure. - commentsPath
- Type: SystemString
The path to where the comments should stored in the JSON structure.
See Also