共用方式為


ProvideEditorLogicalViewAttribute.IsTrusted Property

Gets or sets the trust flag for this logical view.

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

Syntax

'宣告
Public Property IsTrusted As Boolean
public bool IsTrusted { get; set; }

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

See Also

Reference

ProvideEditorLogicalViewAttribute Class

Microsoft.VisualStudio.Shell Namespace