다음을 통해 공유


PSUtility.GetValue<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
<ExtensionAttribute> _
Public Shared Function GetValue(Of T) ( _
    row As DataRow, _
    fieldName As String _
) As T
'Usage
Dim row As DataRow
Dim fieldName As String
Dim returnValue As T

returnValue = row.GetValue(fieldName)
public static T GetValue<T>(
    this DataRow row,
    string fieldName
)

Type Parameters

  • T

Parameters

Return Value

Type: T
Returns String.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type DataRow. When you use instance method syntax to call this method, omit the first parameter. For more information, see https://msdn.microsoft.com/en-us/library/bb384936(v=office.14) or https://msdn.microsoft.com/en-us/library/bb383977(v=office.14).

See Also

Reference

PSUtility Class

PSUtility Members

Microsoft.Office.Project.Server.Library Namespace