ModelingEnumerationConverter.GetStandardValuesSupported Method (ITypeDescriptorContext)
Indicates whether this object supports a standard set of values that can be picked from a list, by using the specified context.
Namespace: Microsoft.VisualStudio.Modeling.Design
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
'宣言
Public Overrides Function GetStandardValuesSupported ( _
context As ITypeDescriptorContext _
) As Boolean
public override bool GetStandardValuesSupported(
ITypeDescriptorContext context
)
public:
virtual bool GetStandardValuesSupported(
ITypeDescriptorContext^ context
) override
abstract GetStandardValuesSupported :
context:ITypeDescriptorContext -> bool
override GetStandardValuesSupported :
context:ITypeDescriptorContext -> bool
public override function GetStandardValuesSupported(
context : ITypeDescriptorContext
) : boolean
Parameters
- context
Type: System.ComponentModel.ITypeDescriptorContext
The format context.
Return Value
Type: System.Boolean
true if the GetStandardValues method should be called to find a common set of values that the object supports; otherwise, false.
Remarks
This method returns true in all cases.
By default, the culture parameter is ignored.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
ModelingEnumerationConverter Class
GetStandardValuesSupported Overload