Metodo DedRuleCollectionAdd(String, String, Boolean, RuleStateEnum)
             | 
          
        
        
            Aggiunge un nuovo elemento alla collezione e lo restituisce.
            
        
        Namespace: DedNet.CoreAssembly: DedNet (in DedNet.dll) Versione: 25.3.0.0 (25.3.0.0)
Sintassipublic DedRule Add(
	string AttrName,
	string RuleDesc,
	bool DbOnly,
	RuleStateEnum State
)
Public Function Add ( 
	AttrName As String,
	RuleDesc As String,
	DbOnly As Boolean,
	State As RuleStateEnum
) As DedRule
public:
DedRule^ Add(
	String^ AttrName, 
	String^ RuleDesc, 
	bool DbOnly, 
	RuleStateEnum State
)
member Add : 
        AttrName : string * 
        RuleDesc : string * 
        DbOnly : bool * 
        State : RuleStateEnum -> DedRule Parametri
- AttrName  String
 - Nome dell'attributo destinatario della compilazione.
 - RuleDesc  String
 - Regola di composizione.
 - DbOnly  Boolean
 - Se applicare solo su componenti codificati.
 - State  RuleStateEnum
 
Valore di ritorno
DedRuleRestituisce la regola aggiunta.
Vedi anche