Novell.Directory.Ldap.LdapControl.register C# (CSharp) Method

register() public static method

Registers a class to be instantiated on receipt of a control with the given OID. Any previous registration for the OID is overridden. The controlClass must be an extension of LdapControl.
public static register ( System oid, System controlClass ) : void
oid System The object identifier of the control. /// ///
controlClass System A class which can instantiate an LdapControl. ///
return void
        public static void register(System.String oid, System.Type controlClass)
        {
            registeredControls.registerResponseControl(oid, controlClass);
            return ;
        }