StyleCollection::CreateKnownType Method (Int32)

 
Use BaseTrue

Creates an instance of the Style class, based on the single element collection returned by the GetKnownTypes method.

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

protected:
virtual Object^ CreateKnownType(
	int index
) override

Parameters

index
Type: System::Int32

The index, from the ordered list of types returned by GetKnownTypes, of the type of the IStateManager object to create. Because the GetKnownTypes method of StyleCollection returns a list with only one type, the input index is ignored.

Return Value

Type: System::Object^

An instance of the Style class.

.NET Framework
Available since 2.0
Return to top
Show: