共用方式為


RepeatBehaviorConverter.ConvertTo 方法

定義

RepeatBehavior 的執行個體轉換為支援的目的型別。

public:
 override System::Object ^ ConvertTo(System::ComponentModel::ITypeDescriptorContext ^ context, System::Globalization::CultureInfo ^ cultureInfo, System::Object ^ value, Type ^ destinationType);
[System.Security.SecurityCritical]
public override object ConvertTo (System.ComponentModel.ITypeDescriptorContext context, System.Globalization.CultureInfo cultureInfo, object value, Type destinationType);
public override object ConvertTo (System.ComponentModel.ITypeDescriptorContext context, System.Globalization.CultureInfo cultureInfo, object value, Type destinationType);
[<System.Security.SecurityCritical>]
override this.ConvertTo : System.ComponentModel.ITypeDescriptorContext * System.Globalization.CultureInfo * obj * Type -> obj
override this.ConvertTo : System.ComponentModel.ITypeDescriptorContext * System.Globalization.CultureInfo * obj * Type -> obj
Public Overrides Function ConvertTo (context As ITypeDescriptorContext, cultureInfo As CultureInfo, value As Object, destinationType As Type) As Object

參數

context
ITypeDescriptorContext

轉換所需的內容資訊。

cultureInfo
CultureInfo

轉換期間應遵守的文化特性資訊。

value
Object

正在評估以進行轉換的物件。

destinationType
Type

正在評估進行轉換的目的型別。

傳回

Object

只支援 StringInstanceDescriptor 目的型別。

屬性

適用於