System.ComponentModel.ToolboxItemAttribute.IsDefaultAttribute C# (CSharp) Метод

IsDefaultAttribute() публичный Метод

public IsDefaultAttribute ( ) : bool
Результат bool
        public override bool IsDefaultAttribute() {
            return this.Equals(Default);
        }
        

Usage Example

Пример #1
0
        public void Ctor_Type(Type toolboxItemType)
        {
            var attribute = new ToolboxItemAttribute(toolboxItemType);

            Assert.Equal(toolboxItemType.AssemblyQualifiedName, attribute.ToolboxItemTypeName);
            Assert.Same(toolboxItemType, attribute.ToolboxItemType);
            Assert.False(attribute.IsDefaultAttribute());
        }
All Usage Examples Of System.ComponentModel.ToolboxItemAttribute::IsDefaultAttribute