MpfUtilities.ConvertFromType<T> 方法

该类及其成员保留供内部使用,不应在代码中使用。

命名空间:  Microsoft.VisualStudio.Data.Schema.Package.Project.Internal
程序集:  Microsoft.VisualStudio.Data.Schema.Package(在 Microsoft.VisualStudio.Data.Schema.Package.dll 中)

语法

声明
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 不支持泛型类型或方法。

类型参数

  • T

参数

返回值

类型:System.Nullable<T>

.NET Framework 安全性

请参见

参考

MpfUtilities 类

Microsoft.VisualStudio.Data.Schema.Package.Project.Internal 命名空间