This documentation is archived and is not being maintained.

TableItemStyle.CopyFrom Method

Duplicates the style properties of the specified Style into the instance of the TableItemStyle class that this method is called from.

[Visual Basic]
Overrides Public Sub CopyFrom( _
   ByVal s As Style _
)
[C#]
public override void CopyFrom(
 Style s
);
[C++]
public: void CopyFrom(
 Style* s
);
[JScript]
public override function CopyFrom(
   s : Style
);

Parameters

s
A Style that represents the style to copy.

Remarks

Use the CopyFrom method to duplicate the style properties of the specified Style into the instance of the TableItemStyle class that this method is called from.

CAUTION   All properties in the current instance of the TableItemStyle class are replaced by the associated property in the s parameter.

Requirements

Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family

See Also

TableItemStyle Class | TableItemStyle Members | System.Web.UI.WebControls Namespace | Style

Show: