MkvPropEditWrapperDeleteProperty Method
Deletes 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 DeleteProperty(
string filepath,
string selector,
string name
)
Public Function DeleteProperty (
filepath As String,
selector As String,
name As String
) As Boolean
Dim instance As MkvPropEditWrapper
Dim filepath As String
Dim selector As String
Dim name As String
Dim returnValue As Boolean
returnValue = instance.DeleteProperty(filepath,
selector, name)
public:
bool DeleteProperty(
String^ filepath,
String^ selector,
String^ name
)
member DeleteProperty :
filepath : string *
selector : string *
name : 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 to delete.
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.DeleteProperty(matroskaFile, "info", "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.