ETS Parameterized Properties

Parameterized properties are COM parameterized properties that contain parts of both properties and methods. These properties are exposed through PSParameterizedProperty objects that are created only by adapters.

noteNote:
The PSParameterizedProperty class is derived from the PSMethodInfo class in order to provide "invoke" members instead of a simple get/set interface that would be available through a property class.

The methods and properties of the PSParameterizedProperty class include the following.

IsGettable property: Gets a Boolean value that indicates that the value of the parameterized property can be retrieved. This property is dynamically determined by examining the IsGettable property of the referenced member.

IsInstance property: Gets a Boolean value that indicates the source of the parameterized property.

IsSettable property: Gets a Boolean value that indicates that the value of the parameterized property can be set. This property is dynamically determined by examining the IsSettable property of the referenced member.

MemberType property: A ParameterizedProperty enumeration constant that defines this property as a parameterized property.

Name property: Gets the name of the parameterized property.

OverloadDefinitions property: Gets the overloads from the COM properties of this type using IDispatch and TypeLibraries.

TypeNameOfValue property: Gets the type of the parameterized property value.

Value property: Gets and sets the value of the parameterized property.

Copy method: Makes an exact copy of the PSParameterizedProperty object.

Invoke method: Invokes the COM parameterized property getter with the appropriate passed arguments.

InvokeSet method: Invokes the COM parameterized property setter with the appropriate passed arguments.

ToString method: Converts the PSParameterizedProperty object to a string.

See Also

Tags :


Page view tracker