AODL.Document.Content.Fields.VariableDecl.VariableDecl C# (CSharp) Method

VariableDecl() public method

Creates an VariableDecl instance
public VariableDecl ( IDocument document, VariableValueType valueType ) : System
document IDocument The document it belogs to
valueType VariableValueType Variable value type
return System
        public VariableDecl(IDocument document, VariableValueType valueType)
        {
            Document = document;
            Node = document.CreateNode("variable-decl", "text");
            VariableValueType = valueType;
        }

Same methods

VariableDecl::VariableDecl ( IDocument document, VariableValueType valueType, string name ) : System
VariableDecl::VariableDecl ( IDocument document, XmlNode node ) : System
VariableDecl