Visual Basic (Declaration) | |
---|---|
Public Sub ResetMediaType() |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As MediaType instance.ResetMediaType() |
C# | |
---|---|
public void ResetMediaType() |
C++/CLI | |
---|---|
public: void ResetMediaType(); |
This method allows you to reset the entire media type (format buffer, type, subtype, etc). All the values set through any MediaType properties are reset to defaults. You would typically call this method if you want to start building the media type all over without freeing the existing interface and recreating a new one.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7