MkvPropEditWrapperSetProperty Method
Sets a property in the source Matroska video file.
Namespace: DevCase.ThirdParty.MKVToolNixAssembly: DevCase.net48.ThirdParty.MKVToolNix (in DevCase.net48.ThirdParty.MKVToolNix.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public bool SetProperty(
string filepath,
string selector,
string name,
string value
)
Public Function SetProperty (
filepath As String,
selector As String,
name As String,
value As String
) As Boolean
Dim instance As MkvPropEditWrapper
Dim filepath As String
Dim selector As String
Dim name As String
Dim value As String
Dim returnValue As Boolean
returnValue = instance.SetProperty(filepath,
selector, name, value)
public:
bool SetProperty(
String^ filepath,
String^ selector,
String^ name,
String^ value
)
member SetProperty :
filepath : string *
selector : string *
name : string *
value : string -> bool
No code example is currently available or this language may not be supported.
- filepath String
-
The source Matroska video filepath.
- selector String
-
The property selector. It can be one of these:
Segment info selector:
· 'info'
Track header selectors:
· 'track:n' (selects a track with the index number specified in 'n')
· 'track:an' (selects a audio track with the index number specified in 'n')
· 'track:vn' (selects a video track with the index number specified in 'n')
· 'track:uid' (selects a track with the UID identifier specified in 'uid')
Tag selectors:
· 'all' (selects all tags)
· 'global' (selects all global tags)
- name String
-
The property name.
- value String
-
The new property value.
Boolean if successful, otherwise,
.
This is a code example.
No code example is currently available or this language may not be supported.
Dim matroskaFile As String = "C:\File.mkv"
Using MkvPropEdit As New MkvPropEditWrapper("C:\Program Files\MKV Toolnix\MkvPropEdit.exe")
Try
MkvPropEdit.SetProperty(matroskaFile, "info", "title", "Movie Title")
Catch ex As Exception
Console.WriteLine(ex.Message)
Finally
Console.WriteLine($"Exit Code: {MkvPropEdit.Process.ExitCode}")
End Try
End Using
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.