IAttributeElementCreateUserAttribute(String, String, ODBEntityEnum, IPCBIWindow) Method
User Attributes are handled differently, you need this static method to create the user attribute and set the value.
Namespace: PCBI.AutomationAssembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
public static IAttributeElement CreateUserAttribute(
string UserAttributeName,
string Value,
ODBEntityEnum EntityType,
IPCBIWindow Parent
)
Public Shared Function CreateUserAttribute (
UserAttributeName As String,
Value As String,
EntityType As ODBEntityEnum,
Parent As IPCBIWindow
) As IAttributeElement
public:
static IAttributeElement^ CreateUserAttribute(
String^ UserAttributeName,
String^ Value,
ODBEntityEnum EntityType,
IPCBIWindow^ Parent
)
static member CreateUserAttribute :
UserAttributeName : string *
Value : string *
EntityType : ODBEntityEnum *
Parent : IPCBIWindow -> IAttributeElement
- UserAttributeName String
- The name of the new user attribute.
- Value String
- Value of the user attribute.
- EntityType ODBEntityEnum
-
- Parent IPCBIWindow
- User attributes always need an IPCBIWindow to reference to.
IAttributeElementNew attribute elment of this created user attribute.