Partager via


StringProperty Class

 

Represents a property that has a string value.

Namespace:   Microsoft.WindowsServerSolutions.Common.Devices
Assembly:  DevicesOM (in DevicesOM.dll)

Inheritance Hierarchy

System.Object
  Microsoft.WindowsServerSolutions.Common.Devices.DeviceProperty
    Microsoft.WindowsServerSolutions.Common.Devices.StringProperty

Syntax

[DataContractAttribute]
public class StringProperty : DeviceProperty
[DataContractAttribute]
public ref class StringProperty : DeviceProperty
<DataContractAttribute>
Public Class StringProperty
    Inherits DeviceProperty

Properties

Name Description
System_CAPS_pubproperty PropertyName

Gets the name of the property.(Inherited from DeviceProperty.)

System_CAPS_pubproperty PropertyValue

Gets the value of the property.

System_CAPS_pubproperty Timestamp

Gets the timestamp for the device.(Inherited from DeviceProperty.)

Methods

Name Description
System_CAPS_pubmethod Equals(DeviceProperty)

Compares one StringProperty object to another StringProperty object.(Overrides DeviceProperty.Equals(DeviceProperty).)

System_CAPS_pubmethod Equals(Object)

Calls the Equals method with the specified object.(Overrides Object.Equals(Object).)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

Returns a hash code for the StringProperty object.(Overrides Object.GetHashCode().)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

Returns a string representation of the properties.(Overrides Object.ToString().)

System_CAPS_pubmethod UpdateDeviceInfo(DeviceInfo)

Updates the device information.

Remarks

An instance of StringProperty must be created by using the CreateStringProperty method.

Thread Safety

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.WindowsServerSolutions.Common.Devices Namespace

Return to top