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
Permissions
- 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
ProvideEditorFactoryAttribute Class