GraphicsPermission Class

Language:

Controls the permissions related to DirectX Graphics.

Definition

Visual Basic NotInheritable Public Class GraphicsPermission
    Inherits CodeAccessPermission
    Implements IUnrestrictedPermission
C# public sealed class GraphicsPermission : CodeAccessPermission, IUnrestrictedPermission
C++ public ref class GraphicsPermission sealed : CodeAccessPermission, IUnrestrictedPermission
JScript public final class GraphicsPermission extends CodeAccessPermission implements IUnrestrictedPermission

Members Table

Method Description
Copy Creates and returns an identical copy of the current permission.
FromXml Reconstructs a permission with a specified state from an XML encoding.
GraphicsPermission Initializes a new instance of the object.
Intersect Creates and returns a permission that is the intersection of the current permission and the specified permission.
IsSubsetOf Determines whether the current permission is a subset of the specified permission.
IsUnrestricted Returns a value indicating whether the current permission is unrestricted.
ToXml Creates an XML encoding of the permission and its current state.
Union Creates a permission that is the union of the permission and the specified permission.
Property Description
Use Gets or sets the access represented by the permission.

Inheritance Hierarchy

Object Leave Site
CodeAccessPermission Leave Site
GraphicsPermission

Class Information

Namespace Microsoft.DirectX.Security
Assembly Microsoft.DirectX (microsoft.directx.dll)
Strong Name Microsoft.DirectX,  Version=1.0.900.0,  Culture=neutral,  PublicKeyToken=d3231b57b74a1492

Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center