Olvasás angol nyelven Szerkesztés

Megosztás a következőn keresztül:


WebControlToolboxItem.GetToolAttributeValue(IDesignerHost, Type) Method

Definition

Gets the value of the specified type of attribute of the toolbox item.

C#
public object GetToolAttributeValue(System.ComponentModel.Design.IDesignerHost host, Type attributeType);

Parameters

host
IDesignerHost

The IDesignerHost for the current design document.

attributeType
Type

The type of attribute to retrieve the value of.

Returns

The value of the specified type of attribute.

Exceptions

The attributeType parameter is not a PersistChildrenAttribute.

Remarks

The default implementation will throw an ArgumentException if the attributeType parameter is anything other than a PersistChildrenAttribute.

Applies to

Termék Verziók
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also