ProvideEditorLogicalViewAttribute.IsTrusted Property
Gets or sets the trust flag for this logical view.
Namespace: Microsoft.VisualStudio.Shell
Assemblies: Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
'宣言
Public Property IsTrusted As Boolean
Get
Set
'使用
Dim instance As ProvideEditorLogicalViewAttribute
Dim value As Boolean
value = instance.IsTrusted
instance.IsTrusted = value
public bool IsTrusted { get; set; }
public:
property bool IsTrusted {
bool get ();
void set (bool value);
}
member IsTrusted : bool with get, set
function get IsTrusted () : boolean
function set IsTrusted (value : boolean)
Property Value
Type: System.Boolean
true if the logical view is trusted, otherwise false.
Remarks
If a view is not trusted, it can not be opened from a wizard or automation code.
.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
ProvideEditorLogicalViewAttribute Class