ITrackExtensionAsT Method |
Namespace: StreamCoders.HelpersAssembly: MediaBase (in MediaBase.dll) Version: 2.0.5.0 (2.0.5.0)
Syntax public static T As<T>(
this ITrackDescriptor track
)
where T : ITrackDescriptor
<ExtensionAttribute>
Public Shared Function As(Of T As ITrackDescriptor) (
track As ITrackDescriptor
) As T
public:
[ExtensionAttribute]
generic<typename T>
where T : ITrackDescriptor
static T As(
ITrackDescriptor^ track
)
[<ExtensionAttribute>]
static member As :
track : ITrackDescriptor -> 'T when 'T : ITrackDescriptor
Parameters
- track
- Type: StreamCodersITrackDescriptor
Type Parameters
- T
Return Value
Type:
TUsage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
ITrackDescriptor. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also