ProvideEditorFactoryAttribute.TrustLevel Property

Gets or sets the trust level for the editor.

Namespace:  Microsoft.VisualStudio.Shell
Assemblies:   Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
  Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)

Syntax

'宣告
Public Property TrustLevel As __VSEDITORTRUSTLEVEL
    Get
    Set
'用途
Dim instance As ProvideEditorFactoryAttribute
Dim value As __VSEDITORTRUSTLEVEL

value = instance.TrustLevel

instance.TrustLevel = value
public __VSEDITORTRUSTLEVEL TrustLevel { get; set; }
public:
property __VSEDITORTRUSTLEVEL TrustLevel {
    __VSEDITORTRUSTLEVEL get ();
    void set (__VSEDITORTRUSTLEVEL value);
}
member TrustLevel : __VSEDITORTRUSTLEVEL with get, set
function get TrustLevel () : __VSEDITORTRUSTLEVEL
function set TrustLevel (value : __VSEDITORTRUSTLEVEL)

Property Value

Type: Microsoft.VisualStudio.Shell.Interop.__VSEDITORTRUSTLEVEL
__VSEDITORTRUSTLEVEL.

.NET Framework Security

See Also

Reference

ProvideEditorFactoryAttribute Class

ProvideEditorFactoryAttribute Members

Microsoft.VisualStudio.Shell Namespace