Share via


Effect.Disassemble(Boolean) Method (Microsoft.DirectX.Direct3D)

Disassembles an effect.

Definition

Visual Basic Public Function Disassemble( _
    ByVal enableColorCode As Boolean _
) As String
C# public string Disassemble(
    bool enableColorCode
);
C++ public:
StringLeave SiteDisassemble(
    bool enableColorCode
);
JScript public function Disassemble(
    enableColorCode : boolean
) : String;

Parameters

enableColorCode System.Boolean
Set to true to enable color coding to make the disassembly easier to read. Set to false for no color coding.

Return Value

System.String
A string that contains the disassembled effect.

Remarks

Exceptions

InvalidCallException

The method call is invalid. For example, a method's parameter might contain an invalid value.

InvalidDataException

The data is invalid.

OutOfMemoryExceptionLeave Site

Microsoft Direct3D could not allocate sufficient memory to complete the call.