MetadataWriterSave Method (String, String, String, String, MetadataSaveFlags) |
Persists an object to the specified file. For typical saves, oldFileName is not specified. Currently oldFileName
is specified only when saving for the purposes of diffing files.
Namespace:
NetQuarry.Metadata
Assembly:
EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax public SaveStatus Save(
string objType,
string objID,
string newFileName,
string oldFileName,
MetadataSaveFlags flags
)
Public Function Save (
objType As String,
objID As String,
newFileName As String,
oldFileName As String,
flags As MetadataSaveFlags
) As SaveStatus
Parameters
- objType
- Type: SystemString
The type of the object to save. - objID
- Type: SystemString
The ID of the object to save. - newFileName
- Type: SystemString
The name of the file to which to save. - oldFileName
- Type: SystemString
The name of the existing meta-data file against which to compare to detect changes. If null, newFileName is used. - flags
- Type: NetQuarry.MetadataMetadataSaveFlags
Flags that modify the behavior of the call.
Return Value
Type:
SaveStatusThe status of the save.
See Also