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
- value
Type: System.String
- culture
Type: System.Globalization.CultureInfo
The culture to use to read the localized strings.
Return Value
Type: System.Nullable<T>
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.VisualStudio.Data.Schema.Package.Project.Internal Namespace