CommaDelimitedStringCollectionConverter.ConvertFrom 方法

定义

String 对象转换为 CommaDelimitedStringCollection 对象。

public:
 override System::Object ^ ConvertFrom(System::ComponentModel::ITypeDescriptorContext ^ ctx, System::Globalization::CultureInfo ^ ci, System::Object ^ data);
public override object ConvertFrom (System.ComponentModel.ITypeDescriptorContext ctx, System.Globalization.CultureInfo ci, object data);
override this.ConvertFrom : System.ComponentModel.ITypeDescriptorContext * System.Globalization.CultureInfo * obj -> obj
Public Overrides Function ConvertFrom (ctx As ITypeDescriptorContext, ci As CultureInfo, data As Object) As Object

参数

ctx
ITypeDescriptorContext

用于类型转换的 ITypeDescriptorContext

ci
CultureInfo

在转换过程中使用的 CultureInfo

data
Object

要转换的以逗号分隔的 String

返回

包含转换后的值的 CommaDelimitedStringCollection

适用于