PropertyCreatePreference Method |
Create a preference object.
Namespace:
NetQuarry
Assembly:
EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax public static Property CreatePreference(
string name,
Object value,
PropertyAttrs attributes,
string ownerID,
string ownerLevel,
string propertyID
)
Public Shared Function CreatePreference (
name As String,
value As Object,
attributes As PropertyAttrs,
ownerID As String,
ownerLevel As String,
propertyID As String
) As Property
Parameters
- name
- Type: SystemString
The preference name. - value
- Type: SystemObject
The value of the preference. - attributes
- Type: NetQuarryPropertyAttrs
The attributes describing the preference. - ownerID
- Type: SystemString
The ID of the owner of the preference. - ownerLevel
- Type: SystemString
The level of the preference owner. - propertyID
- Type: SystemString
The property ID of the preference.
Return Value
Type:
PropertyThe newly created preference object.
See Also