Furcadia Framework For Third Party Programs
ObjectExtensionsAsString Method |
[This is preliminary documentation and is subject to change.]
[Missing <summary> documentation for "M:Furcadia.Extensions.ObjectExtensions.AsString(System.Object,System.String)"]
Namespace: Furcadia.Extensions
Assembly: FurcadiaLib (in FurcadiaLib.dll) Version: 2.19.PreAlpha 44
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
[Missing <param name="obj"/> documentation for "M:Furcadia.Extensions.ObjectExtensions.AsString(System.Object,System.String)"]
- default (Optional)
- Type: SystemString
[Missing <param name="default"/> documentation for "M:Furcadia.Extensions.ObjectExtensions.AsString(System.Object,System.String)"]
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