AssertPaletteProviderType<TPaletteProvider> Method
Asserts the type of the palette provider p is TPaletteProvider. Throw an exception if not
Syntax
protected void AssertPaletteProviderType<TPaletteProvider>( IPaletteProvider3D p )
Parameters
- p
- The p.
Type Parameters
- TPaletteProvider
- The type of the palette provider.
Exceptions
Exception | Description |
---|---|
System.InvalidOperationException | The exception that is thrown when a method call is invalid for the object's current state. |
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also