Htaccess    html   Php    javascript   Asp   css    maths  Past Questions  Practice Tests Online

class.dotnet function syntax tag tutorial 2013





Alert! Connect with 10,000 Chating Online. Join Now

Php class.dotnet () function

Write your php code

 
<?php ?>

Php Result


Your code below



(no version information, might be only in CVS)

DOTNET -- DOTNET class

Synopsis

$obj = new DOTNET("assembly", "classname")

Syntax

The DOTNET class allows you to instantiate a class from a .Net assembly and call its methods and access its properties.

Methods

string DOTNET::DOTNET ( string assembly_name, string class_name [, int codepage] )

DOTNET class constructor. assembly_name specifies which assembly should be loaded, and class_name specifices which class in that assembly to instantiate. You may optionally specify a codepage to use for unicode string transformations; see the COM class for more details on code pages.

The returned object is an overloaded object, which means that PHP does not see any fixed methods as it does with regular classes; instead, any property or method accesses are passed through to COM and from there to DOTNET. In other words, the .Net object is mapped through the COM interoperability layer provided by the .Net runtime.

Once you have created a DOTNET object, PHP treats it identically to any other COM object; all the same rules apply.

Example 1. DOTNET example

<?php
  $stack
= new DOTNET("mscorlib", "System.Collections.Stack");
  
$stack->Push(".Net");
  
$stack->Push("Hello ");
  echo
$stack->Pop() . $stack->Pop();
?>

Note: You need to install the .Net runtime on your web server to take advantage of this feature.

Php class.dotnet Function syntax tag

class.dotnet php code on this is provided for your study purpose, it will guide you to know how create and design a website using php. use it to practice and train your self online



Php class.dotnet syntax tutorial

php tutorial guide and code design are for easy learning and programming. The code practice section provided at the top is for practising of this syntax. Use the code section up to practice your php programming online. Learning php is very easy, all you need is to use the examples on this site and practice them to perfect your skills.


Function index

Variables

Expressions

Operators

Control-Structures

Cookies

Array

Date & Time

Directory function

File

Image

Operators

Form data handling

Mathematics operators

Mail

Php Mysql

Network Functions

Strings

php tutorial guides,functions, classes, code examples and tags for creating simple dynamic site to mysql database driven sites
 
 
Htaccess    html   Php    javascript   Asp   css    maths  Past Questions  Practice Tests Online