Share via


PortablePlatformAbstraction.Get Method

Gets the abstraction of the portable platform.

Namespace: Microsoft.WindowsAzure.Common.Internals
Assembly: Microsoft.WindowsAzure.Common (in Microsoft.WindowsAzure.Common.dll)

Usage

'Usage
Dim hasDefaultImplementation As Boolean
Dim returnValue As T

returnValue = PortablePlatformAbstraction.Get(hasDefaultImplementation)

Syntax

'Declaration
Public Shared Function Get(Of T) ( _
    <OptionalAttribute> Optional hasDefaultImplementation As Boolean = False _
) As T
public static T Get<T> (
    [OptionalAttribute] bool hasDefaultImplementation
)
public:
generic<typename T>
static T Get (
    [OptionalAttribute] bool hasDefaultImplementation
)

GenericParameters

  • T
    The type of the abstraction.

Parameters

  • hasDefaultImplementation
    The indicator of whether the abstraction has a default implementation. true if the abstraction has a default implementation; otherwise, false.

Return Value

The abstraction of the portable platform.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

Target Platforms

See Also

Reference

PortablePlatformAbstraction Class
PortablePlatformAbstraction Members
Microsoft.WindowsAzure.Common.Internals Namespace