Share

NetworkCatalogDef.DeclareNewParameter Method

Declares a new part catalog parameter



Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.280

Syntax

C#

public static void DeclareNewParameter(
	string globalContext,
	string displayContext,
	string paramName,
	string paramDesc,
	PartCatalogDataType dataType,
	PartParamUsageType usage,
	string defaultUnits,
	bool singleton,
	bool catManagedList
)

VB

Public Shared Sub DeclareNewParameter ( 
	globalContext As String,
	displayContext As String,
	paramName As String,
	paramDesc As String,
	dataType As PartCatalogDataType,
	usage As PartParamUsageType,
	defaultUnits As String,
	singleton As Boolean,
	catManagedList As Boolean
)

C++

public:
static void DeclareNewParameter(
	String^ globalContext, 
	String^ displayContext, 
	String^ paramName, 
	String^ paramDesc, 
	PartCatalogDataType dataType, 
	PartParamUsageType usage, 
	String^ defaultUnits, 
	bool singleton, 
	bool catManagedList
)

Parameters

globalContext  String
Specifies the parameter's global context, which should be already declared.
displayContext  String
Specifies the display string of the parameter's context.
paramName  String
Specifies the parameter's name.
paramDesc  String
Specifies a description for the parameter.
dataType  PartCatalogDataType
Specifies the parameter's value data type.
usage  PartParamUsageType
Specifies the parameter's usage.
defaultUnits  String
Specifies the parameter's default units.
singleton  Boolean
Specifies if the parameter is a singleton.
catManagedList  Boolean
Specifies if the parameter belongs to a managed list.

Exceptions

ExceptionCondition
ArgumentException Thrown when input string is blank or when the input context is not declared yet.

See Also

Reference

Was this information helpful?