Microsoft SDK for Java

PropertyAccessRequest Class Constructors

The PropertyAccessRequest Class contains the following constructors:

PropertyAccessRequest(int type,String param)
PropertyAccessRequest()
PropertyAccessRequest(String prop)

PropertyAccessRequest(int type, String param)

Creates a property access request for a specified access type and a specified property.

Syntax

public PropertyAccessRequest(int type, String param);

Return Value

Returns the request object that represents a request for access to the specified property.

Parameters

type The type of property access. This can be ALL or INDIVIDUAL.
param If type is INDIVIDUAL, this value should be the property name for the specified access type. If type is ALL, the value should be null.

PropertyAccessRequest()

Creates a property access request that indicates a request for unrestricted access to properties.

Syntax

public PropertyAccessRequest();

Return Value

Returns the request object that indicates a request to access all system properties.

PropertyAccessRequest(String prop)

Creates a request object that represents an attempt to read the specified property.

Syntax

public PropertyAccessRequest(String prop);

Return Value

Returns the request object that represents an attempt to read the specified property.

Parameters

prop The name of the system property to read.

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