Visual Basic (Declaration) | |
---|---|
Public Sub ResetFormat() |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As MediaType instance.ResetFormat() |
C# | |
---|---|
public void ResetFormat() |
C++/CLI | |
---|---|
public: void ResetFormat(); |
This method allows you to reset the format buffer and free the memory allocated to it. It is equivalent to setting the MediaType.FormatSize property to zero or setting the MediaType.Format property to null. After you call this method, MediaType.FormatSize returns 0 and MediaType.Format returns null.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7