VsTeXProject.VisualStudio.Project.Automation.OAProperties.AddProperty C# (CSharp) Method

AddProperty() protected method

Creates a new OAProperty object and adds it to the current list of properties
protected AddProperty ( PropertyInfo propertyInfo ) : void
propertyInfo System.Reflection.PropertyInfo The property to be associated with an OAProperty object
return void
        protected virtual void AddProperty(PropertyInfo propertyInfo)
        {
            if (propertyInfo == null)
            {
                throw new ArgumentNullException("propertyInfo");
            }

            Properties.Add(propertyInfo.Name, new OAProperty(this, propertyInfo));
        }