ProvideEditorFactoryAttribute.TrustLevel Property

Gets or sets the trust level for the editor.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)

Syntax

'宣言
Public Property TrustLevel As __VSEDITORTRUSTLEVEL
'使用
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);
}
public function get TrustLevel () : __VSEDITORTRUSTLEVEL
public function set TrustLevel (value : __VSEDITORTRUSTLEVEL)

Property Value

Type: Microsoft.VisualStudio.Shell.Interop.__VSEDITORTRUSTLEVEL

__VSEDITORTRUSTLEVEL.

Permissions

See Also

Reference

ProvideEditorFactoryAttribute Class

ProvideEditorFactoryAttribute Members

Microsoft.VisualStudio.Shell Namespace