Microsoft DirectX 9.0 SDK Update (October 2004)

GraphicsPermission Class

Language:

Note: This documentation is preliminary and is subject to change.

Controls the permissions related to DirectX Graphics.

Definition

Visual Basic .NET NotInheritable Public Class GraphicsPermission
   Inherits CodeAccessPermission 
   Implements IUnrestrictedPermission
C# public sealed class GraphicsPermission : CodeAccessPermission,
   IUnrestrictedPermission
Managed C++ public __gc __sealed class GraphicsPermission  : public CodeAccessPermission,
   IUnrestrictedPermission
JScript .NET public 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.2902.0,  Culture=neutral,  PublicKeyToken=31bf3856ad364e35

© 2004 Microsoft Corporation. All rights reserved. Terms of use.

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