共用方式為


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,包含轉換過的值。

適用於