SmartPartInfo.ConvertTo Generic Method
Creates a new instance of the TSmartPartInfo and copies over the information in the source smart part.
Namespace: Microsoft.Practices.CompositeUI.SmartParts
Assembly: Microsoft.Practices.CompositeUI (in microsoft.practices.compositeui.dll)
Syntax
'Declaration
Public Shared Function ConvertTo(Of TSmartPartInfo As ISmartPartInfo) ( _
source As ISmartPartInfo _
) As TSmartPartInfo
'Usage
Dim source As ISmartPartInfo
Dim returnValue As TSmartPartInfo
returnValue = SmartPartInfo.ConvertTo(source)
public static TSmartPartInfo ConvertTo<TSmartPartInfo> (
ISmartPartInfo source
) where TSmartPartInfo : ISmartPartInfo
public:
generic<typename TSmartPartInfo> where TSmartPartInfo : ISmartPartInfo
static TSmartPartInfo ConvertTo (
ISmartPartInfo^ source
)
J# supports the use of generic types and methods, but not the declaration of new ones.
JScript does not support generic types and methods.
Parameters
- source
See Also
Reference
SmartPartInfo Class
SmartPartInfo Members
Microsoft.Practices.CompositeUI.SmartParts Namespace