AFPlugIn.CreateValueFormInstance Method
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
Create an instance of a plugin value editor form.
Namespace: OSIsoft.AF
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public Form CreateValueFormInstance( Type type, Object plugIn, bool readOnly, Object context, Object value )
Public Function CreateValueFormInstance ( type As Type, plugIn As Object, readOnly As Boolean, context As Object, value As Object ) As Form Dim instance As AFPlugIn Dim type As Type Dim plugIn As Object Dim readOnly As Boolean Dim context As Object Dim value As Object Dim returnValue As Form returnValue = instance.CreateValueFormInstance(type, plugIn, readOnly, context, value)
public: Form^ CreateValueFormInstance( Type^ type, Object^ plugIn, bool readOnly, Object^ context, Object^ value )
member CreateValueFormInstance : type : Type * plugIn : Object * readOnly : bool * context : Object * value : Object -> Form
Parameters
- type
- Type: SystemType
The Type of the editor form to create. - plugIn
- Type: SystemObject
The plugin instance being configured by the editor form. - readOnly
- Type: SystemBoolean
If , then the editor form will be read-only. If , then the values can be modified. - context
- Type: SystemObject
The context object for the value is being edited. - value
- Type: SystemObject
The initial value being edited.
Return Value
Type: FormReturns the newly created plugin value editor form instance.
Remarks
Typically, it is not necessary to invoke this method. This method is used internally
by the AFPlugInEditor.