System.Net.CFString.ToString C# (CSharp) Method

ToString() public method

public ToString ( ) : string
return string
		public override string ToString ()
		{
			if (str == null)
				str = AsString (Handle);

			return str;
		}

Usage Example

Beispiel #1
0
 public override string ToString()
 {
     if (copyDescription != IntPtr.Zero) {
         var ptr = CFReadStreamRef_InvokeCopyDescription (copyDescription, Info);
         if (ptr != IntPtr.Zero) {
             // Copy* -> so we must not retain again
             using (var s = new CFString (ptr, true))
                 return s.ToString ();
         }
     }
     return base.ToString ();
 }
All Usage Examples Of System.Net.CFString::ToString