PSUtility.TryGetObjectAsType<T> Method

Reserved for internal use.

Namespace:  Microsoft.Office.Project.Server.Library
Assembly:  Microsoft.Office.Project.Server.Library (in Microsoft.Office.Project.Server.Library.dll)

Syntax

'Declaration
Public Shared Function TryGetObjectAsType(Of T) ( _
    o As Object, _
    <OutAttribute> ByRef created As T _
) As Boolean
'Usage
Dim o As Object
Dim created As T
Dim returnValue As Boolean

returnValue = PSUtility.TryGetObjectAsType(o, _
    created)
public static bool TryGetObjectAsType<T>(
    Object o,
    out T created
)

Type Parameters

  • T

Parameters

  • created
    Type: T

Return Value

Type: System.Boolean
Returns Boolean.

See Also

Reference

PSUtility Class

PSUtility Members

Microsoft.Office.Project.Server.Library Namespace