JsonAdminCommentPreserverGetPreservedComments Method |
Extracts a list of comments preserved in a non-mfadmin-compatible json structure.
Namespace:
MFiles.VAF.Configuration.JsonMapping
Assembly:
MFiles.VAF.Configuration (in MFiles.VAF.Configuration.dll) Version: 21.8.10524.1
Syntaxpublic IEnumerable<JsonAdminComment> GetPreservedComments(
JObject source,
string commentsPath
)
Public Function GetPreservedComments (
source As JObject,
commentsPath As String
) As IEnumerable(Of JsonAdminComment)
public:
IEnumerable<JsonAdminComment^>^ GetPreservedComments(
JObject^ source,
String^ commentsPath
)
Parameters
- source
- Type: JObject
The json to extract the comments from. - commentsPath
- Type: SystemString
The custom path where comments would have been saved.
Return Value
Type:
IEnumerableJsonAdminCommentList of preserved comments.
See Also