다음을 통해 공유


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

See Also

Reference

ProvideEditorLogicalViewAttribute Class

ProvideEditorLogicalViewAttribute Members

Microsoft.VisualStudio.Shell Namespace