SoundPermission Class (Microsoft.DirectX.Security)
Controls the permissions related DirectX Audio.
Visual Basic NotInheritable Public Class SoundPermission
Inherits CodeAccessPermission
Implements IUnrestrictedPermissionC# public sealed class SoundPermission : CodeAccessPermission , IUnrestrictedPermission
C++ public ref class SoundPermission sealed : CodeAccessPermission , IUnrestrictedPermission
JScript public final class SoundPermission extends CodeAccessPermission implements IUnrestrictedPermission
The following table lists the members exposed by the object.
Methods
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. 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. SoundPermission Initializes a new instance of the object. 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. Properties
Property Description Use Gets or sets the access represented by the permission. UseCapture Gets or sets the access represented by the permission.
Object
CodeAccessPermission
SoundPermission
Namespace Microsoft.DirectX.Security Assembly Microsoft.DirectX (microsoft.directx.dll) Strong Name Microsoft.DirectX, Version=1.0.900.0, Culture=neutral, PublicKeyToken=d3231b57b74a1492
Show:
