AudioFile.RemoveUserData Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| RemoveUserData(AudioFileChunkType, Int32) |
Removes the specified chunk of user data. |
| RemoveUserData(Int32, Int32) |
Obsolete.
Removes the chunk of user data at the specified |
RemoveUserData(AudioFileChunkType, Int32)
Removes the specified chunk of user data.
public AudioToolbox.AudioFileError RemoveUserData(AudioToolbox.AudioFileChunkType chunkType, int index);
member this.RemoveUserData : AudioToolbox.AudioFileChunkType * int -> AudioToolbox.AudioFileError
Parameters
- chunkType
- AudioFileChunkType
The fourcc of the chunk.
- index
- Int32
The index of the chunk if there are more than one chunks.
Returns
Returns Success on success, otherwise an AudioFileError error code.
Applies to
RemoveUserData(Int32, Int32)
Caution
Use 'RemoveUserData (AudioFileChunkType, int)' instead.
Removes the chunk of user data at the specified index in the user data that is identified by userDataId.
[System.Obsolete("Use 'RemoveUserData (AudioFileChunkType, int)' instead.")]
public int RemoveUserData(int userDataId, int index);
[<System.Obsolete("Use 'RemoveUserData (AudioFileChunkType, int)' instead.")>]
member this.RemoveUserData : int * int -> int
Parameters
- userDataId
- Int32
The fourcc of the chunk.
- index
- Int32
The index of the chunk if there are more than one chunks.
Returns
Returns Success on success, otherwise an AudioFileError error code.
- Attributes