Поделиться через


MpfUtilities.ConvertFromType<T> Method

This class and its members are reserved for internal use and are not intended to be used in your code.

Namespace:  Microsoft.VisualStudio.Data.Schema.Package.Project.Internal
Assembly:  Microsoft.VisualStudio.Data.Schema.Package (in Microsoft.VisualStudio.Data.Schema.Package.dll)

Syntax

'Declaration
Public Shared Function ConvertFromType(Of T As {Structure, New}) ( _
    value As String, _
    culture As CultureInfo _
) As Nullable(Of T)
public static Nullable<T> ConvertFromType<T>(
    string value,
    CultureInfo culture
)
where T : struct, new()
public:
generic<typename T>
where T : value class, gcnew()
static Nullable<T> ConvertFromType(
    String^ value, 
    CultureInfo^ culture
)
static member ConvertFromType : 
        value:string * 
        culture:CultureInfo -> Nullable<'T>  when 'T : struct, new()
JScript does not support generic types or methods.

Type Parameters

  • T

Parameters

Return Value

Type: System.Nullable<T>

.NET Framework Security

See Also

Reference

MpfUtilities Class

Microsoft.VisualStudio.Data.Schema.Package.Project.Internal Namespace