ISIPrefixList Type

Interface to a list of known SIPrefixes.

Instance members

Instance member Description

this.ContainsNonePrefixOnly

Full Usage: this.ContainsNonePrefixOnly

Returns: bool
Modifiers: abstract

Gets a value indicating whether this list only contains the SIPrefix.None.

Returns: bool

this.Count

Full Usage: this.Count

Returns: int
Modifiers: abstract

Gets the number of prefixes in this list.

Returns: int

this.TryGetPrefixFromShortCut

Full Usage: this.TryGetPrefixFromShortCut

Parameters:
    shortCut : string - The short cut.

Returns: SIPrefix The prefix with the given shortcut. If no such prefix exist, the function will return null.
Modifiers: abstract

Try the get a prefix, given its shortcut. Example: given the string 'n', this function will return the prefix SIPrefix.Nano.

shortCut : string

The short cut.

Returns: SIPrefix

The prefix with the given shortcut. If no such prefix exist, the function will return null.