## ShaderParamDefContainer.GetParamDefByName2

### Introduced

v11.0 (2013)

### Description

Returns the ShaderParamDef that matches the specified name from this container. This method is similar to ShaderParamDefContainer.GetParamDefByName but specific to the Python language.

### C# Syntax

    Object ShaderParamDefContainer.GetParamDefByName2( String in_ParameterName );

### Scripting Syntax

    oReturn = ShaderParamDefContainer.GetParamDefByName2( in_ParameterName );

### Return Value

ShaderParamDef

### Parameters

Parameter | Type | Description
--- | --- | ---
in_ParameterName | String | The registered name of the shader parameter definition to return.

### See Also

ShaderParamDefContainer.Definitions