StoreLocationConverter.ConvertTo 方法 (ITypeDescriptorContext, CultureInfo, Object, Type)

Converts a given T:System.Security.Cryptography.X509Certificates.StoreLocation to a string.

命名空间: Microsoft.IdentityModel.Configuration
程序集: Microsoft.IdentityModel(microsoft.identitymodel.dll 中)

用法

    Dim instance As StoreLocationConverter
Dim context As ITypeDescriptorContext
Dim culture As CultureInfo
Dim value As Object
Dim destinationType As Type
Dim returnValue As Object

returnValue = instance.ConvertTo(context, culture, value, destinationType)

语法

声明
Public Overrides Function ConvertTo ( _
    context As ITypeDescriptorContext, _
    culture As CultureInfo, _
    value As Object, _
    destinationType As Type _
) As Object
public override Object ConvertTo (
    ITypeDescriptorContext context,
    CultureInfo culture,
    Object value,
    Type destinationType
)
public:
virtual Object^ ConvertTo (
    ITypeDescriptorContext^ context, 
    CultureInfo^ culture, 
    Object^ value, 
    Type^ destinationType
) override
public Object ConvertTo (
    ITypeDescriptorContext context, 
    CultureInfo culture, 
    Object value, 
    Type destinationType
)
public override function ConvertTo (
    context : ITypeDescriptorContext, 
    culture : CultureInfo, 
    value : Object, 
    destinationType : Type
) : Object

参数

  • context
     
  • culture
     
  • value
     
  • destinationType
     

异常

异常类型 条件

线程安全

此类型的任何公共静态(在 Visual Basic 中为 Shared)成员都是线程安全的。但不能保证任何实例成员是线程安全的。

平台

开发平台

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2008, Windows Vista, Not tested on Windows XP

请参见

参考

StoreLocationConverter 类
StoreLocationConverter 成员
Microsoft.IdentityModel.Configuration 命名空间