|
ObjectExtensionsAsString Method
|
This stuff is still in the planning stages. Any questions or Comments are welcome. [This is preliminary documentation and is subject to change.]
Ases the string.
Namespace:
Furcadia.Extensions
Assembly:
FurcadiaLib (in FurcadiaLib.dll) Version: 2.19.PreAlpha 59
Syntax public static string AsString(
this Object obj,
string default = null
)
<ExtensionAttribute>
Public Shared Function AsString (
obj As Object,
Optional default As String = Nothing
) As String
Dim obj As Object
Dim default As String
Dim returnValue As String
returnValue = obj.AsString(default)
public:
[ExtensionAttribute]
static String^ AsString(
Object^ obj,
String^ default = nullptr
)
[<ExtensionAttribute>]
static member AsString :
obj : Object *
?default : string
(* Defaults:
let _default = defaultArg default null
*)
-> string
Parameters
- obj
- Type: SystemObject
The object. - default (Optional)
- Type: SystemString
The default.
Return Value
Type:
String[Missing <returns> documentation for "M:Furcadia.Extensions.ObjectExtensions.AsString(System.Object,System.String)"]
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