ActivityBindTypeConverter.GetStandardValues(ITypeDescriptorContext) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
回傳一組使用指定上下文的 ActivityBind 標準值資料型別。
public:
override System::ComponentModel::TypeConverter::StandardValuesCollection ^ GetStandardValues(System::ComponentModel::ITypeDescriptorContext ^ context);
public override System.ComponentModel.TypeConverter.StandardValuesCollection GetStandardValues(System.ComponentModel.ITypeDescriptorContext context);
override this.GetStandardValues : System.ComponentModel.ITypeDescriptorContext -> System.ComponentModel.TypeConverter.StandardValuesCollection
Public Overrides Function GetStandardValues (context As ITypeDescriptorContext) As TypeConverter.StandardValuesCollection
參數
- context
- ITypeDescriptorContext
ITypeDescriptorContext那就提供了格式的背景。
傳回
一個TypeConverter.StandardValuesCollection,若資料型別不支援標準值集,則保留標準有效值集合或空參考(Nothing,Visual Basic中表示)。
備註
context 可用來擷取關於該轉換器所處環境的額外資訊。
context 或任何透過它可取得的屬性都可以是空參考(Nothing)。