ReferenceEditorBase.GetEditStyle Method (ITypeDescriptorContext)
Returns the edit style base on the IReferencePicker, if not available then NONE
Namespace: Microsoft.VisualStudio.Modeling.Integration.Picker
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Integration.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Integration.10.0.dll)
Syntax
'Declaração
<PermissionSetAttribute(SecurityAction.LinkDemand, Name := "FullTrust")> _
Public Overrides Function GetEditStyle ( _
context As ITypeDescriptorContext _
) As UITypeEditorEditStyle
[PermissionSetAttribute(SecurityAction.LinkDemand, Name = "FullTrust")]
public override UITypeEditorEditStyle GetEditStyle(
ITypeDescriptorContext context
)
[PermissionSetAttribute(SecurityAction::LinkDemand, Name = L"FullTrust")]
public:
virtual UITypeEditorEditStyle GetEditStyle(
ITypeDescriptorContext^ context
) override
[<PermissionSetAttribute(SecurityAction.LinkDemand, Name = "FullTrust")>]
abstract GetEditStyle :
context:ITypeDescriptorContext -> UITypeEditorEditStyle
[<PermissionSetAttribute(SecurityAction.LinkDemand, Name = "FullTrust")>]
override GetEditStyle :
context:ITypeDescriptorContext -> UITypeEditorEditStyle
public override function GetEditStyle(
context : ITypeDescriptorContext
) : UITypeEditorEditStyle
Parameters
- context
Type: System.ComponentModel.ITypeDescriptorContext
Return Value
Type: System.Drawing.Design.UITypeEditorEditStyle
.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
Microsoft.VisualStudio.Modeling.Integration.Picker Namespace