GenericExtensionsToSmartStringOrNull Method |
Gets an informative string representation of an object
Namespace: Lithnet.MetadirectoryServicesAssembly: Lithnet.MetadirectoryServices (in Lithnet.MetadirectoryServices.dll) Version: 1.0.6017.24765
Syntax public static string ToSmartStringOrNull(
this Object obj
)
<ExtensionAttribute>
Public Shared Function ToSmartStringOrNull (
obj As Object
) As String
public:
[ExtensionAttribute]
static String^ ToSmartStringOrNull(
Object^ obj
)
Parameters
- obj
- Type: SystemObject
The object to convert
Return Value
Type:
StringAn informative string representation of an object, or a null value if the object is null
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
Object. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also