The
ToStringArray method converts the
ValueCollection
into an array of strings.
Namespace: Microsoft.MetadirectoryServices
Assembly: Microsoft.MetadirectoryServicesEx (in
microsoft.metadirectoryservicesex.dll)
Usage
Visual Basic |
Dim instance As ValueCollection
Dim returnValue As String()
returnValue = instance.ToStringArray
|
Syntax
Visual Basic |
Public MustOverride Function ToStringArray As String()
|
C# |
public abstract string[] ToStringArray ()
|
C++ |
public:
virtual array<String^>^ ToStringArray () abstract
|
J# |
public abstract String[] ToStringArray ()
|
JScript |
public abstract function ToStringArray () : String[]
|
Return Value
Returns an array of
string values that contain the contents
of the
ValueCollection. Each member of this array contains
the string representation of each element of the
ValueCollection.
Exceptions
Exception type |
Condition |
System.InvalidOperationException
|
One or more of the values in the collection cannot be
converted to the specified data type.
|
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