Effect.Disassemble Method

Language:

Note: This documentation is preliminary and is subject to change.

Disassembles an effect.

Definition

Visual Basic .NET Public Shared Function Disassemble( _
    ByVal effect As Effect, _
    ByVal enableColorCode As Boolean _
) As String
C# public static string Disassemble(
    Effect effect,
    bool enableColorCode
);
Managed C++ public: static String* Disassemble(
    Effect *effect,
    bool enableColorCode
);
JScript .NET public static function Disassemble(
    effect : Effect,
    enableColorCode : boolean
) : String;

Parameters

effect Microsoft.DirectX.Direct3D.Effect. An Effect object that contains the effect to disassemble.
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.
OutOfMemoryException Leave Site Microsoft® Direct3D® could not allocate sufficient memory to complete the call.


© 2004 Microsoft Corporation. All rights reserved. Terms of use.

Feedback? Please provide us with your comments on this topic.