Skip to content

3dfc99ff d95d 4348 0592 8986a5f3838a

Kim Hugener-Ohlsen edited this page May 28, 2016 · 2 revisions

PeriodicExtensions.Hertz(TValue) Method

Gets the value as hertz.

Namespace: Sundew.Quantities.Periodics
Assembly: Sundew.Quantities (in Sundew.Quantities.dll) Version: 1.0.2.0 (1.0.2.0)

Syntax

C#

public static Frequency Hertz<TValue>(
	this TValue value
)
where TValue : struct, new(), IComparable, IFormattable

C#

public static Frequency Hertz<TValue>(
	this TValue value
)
where TValue : struct, new(), IComparable, IFormattable

VB

<ExtensionAttribute>
Public Shared Function Hertz(Of TValue As {Structure, New, IComparable, IFormattable}) ( 
	value As TValue
) As Frequency

VB

<ExtensionAttribute>
Public Shared Function Hertz(Of TValue As {Structure, New, IComparable, IFormattable}) ( 
	value As TValue
) As Frequency

C++

public:
[ExtensionAttribute]
generic<typename TValue>
where TValue : value class, gcnew(), IComparable, IFormattable
static Frequency^ Hertz(
	TValue value
)

C++

public:
[ExtensionAttribute]
generic<typename TValue>
where TValue : value class, gcnew(), IComparable, IFormattable
static Frequency^ Hertz(
	TValue value
)

F#

[<ExtensionAttribute>]
static member Hertz : 
        value : 'TValue -> Frequency  when 'TValue : struct, new() and IComparable and IFormattable

F#

[<ExtensionAttribute>]
static member Hertz : 
        value : 'TValue -> Frequency  when 'TValue : struct, new() and IComparable and IFormattable

Parameters

 

value
Type: TValue
The value.

Type Parameters

 

TValue
The type of the value.

Return Value

Type: Frequency
A new Frequency.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type . 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

Reference

PeriodicExtensions Class
Sundew.Quantities.Periodics Namespace

Clone this wiki locally