Attrib.StringValue Property
Gets or sets the string representation of the attribute value. Use this property with single-valued attributes only. Do not use this property for multi-valued attributes.
Namespace: Microsoft.MetadirectoryServices
Assembly: Microsoft.MetadirectoryServicesEx (in Microsoft.MetadirectoryServicesEx.dll)
Usage
'Usage
Dim instance As Attrib
Dim value As String
value = instance.StringValue
instance.StringValue = value
Syntax
'Declaration
Public MustOverride Property StringValue As String
public abstract string StringValue { get; set; }
public:
virtual property String^ StringValue {
String^ get () abstract;
void set (String^ value) abstract;
}
/** @property */
public abstract String get_StringValue ()
/** @property */
public abstract void set_StringValue (String value)
public abstract function get StringValue () : String
public abstract function set StringValue (value : String)
Property Value
Returns a String.
Exceptions
Exception type | Condition |
---|---|
System.InvalidOperationException | The Attrib object is being set to one of the following:
If you are unsure of the data type of an Attrib object, use the Value property or the Values property for multi-valued attributes. |
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.
Platforms
Target Platforms
See Also
Reference
Attrib Class
Attrib Members
Microsoft.MetadirectoryServices Namespace
Values
Attrib Class