Intersoft WebGrid Documentation
CreateObjRef Method
See Also  Send Feedback
ISNet.WebUI.WebGrid Namespace > WebGridFormatStyle Class : CreateObjRef Method






requestedType

Syntax

Visual Basic (Declaration) 
<SecurityPermissionAttribute(Flags=SecurityPermissionFlag.Infrastructure, 
   Assertion=False, 
   UnmanagedCode=False, 
   SkipVerification=False, 
   Execution=False, 
   ControlThread=False, 
   ControlEvidence=False, 
   ControlPolicy=False, 
   SerializationFormatter=False, 
   ControlDomainPolicy=False, 
   ControlPrincipal=False, 
   ControlAppDomain=False, 
   RemotingConfiguration=False, 
   Infrastructure=True, 
   BindingRedirects=False, 
   Action=SecurityAction.Demand Or  _
    SecurityAction.Deny Or  _
    SecurityAction.LinkDemand, 
   Unrestricted=False)>
Public Overridable Function CreateObjRef( _
   ByVal requestedType As Type _
) As ObjRef
Visual Basic (Usage)Copy Code
Dim instance As WebGridFormatStyle
Dim requestedType As Type
Dim value As ObjRef
 
value = instance.CreateObjRef(requestedType)
C# 
[SecurityPermissionAttribute(Flags=SecurityPermissionFlag.Infrastructure, 
   Assertion=false, 
   UnmanagedCode=false, 
   SkipVerification=false, 
   Execution=false, 
   ControlThread=false, 
   ControlEvidence=false, 
   ControlPolicy=false, 
   SerializationFormatter=false, 
   ControlDomainPolicy=false, 
   ControlPrincipal=false, 
   ControlAppDomain=false, 
   RemotingConfiguration=false, 
   Infrastructure=true, 
   BindingRedirects=false, 
   Action=SecurityAction.Demand | 
    SecurityAction.Deny | 
    SecurityAction.LinkDemand, 
   Unrestricted=false)]
public virtual ObjRef CreateObjRef( 
   Type requestedType
)
Delphi 
public function CreateObjRef( 
    requestedType: Type
): ObjRef; virtual; 
JScript 
SecurityPermissionAttribute(Flags=SecurityPermissionFlag.Infrastructure, 
   Assertion=, 
   UnmanagedCode=, 
   SkipVerification=, 
   Execution=, 
   ControlThread=, 
   ControlEvidence=, 
   ControlPolicy=, 
   SerializationFormatter=, 
   ControlDomainPolicy=, 
   ControlPrincipal=, 
   ControlAppDomain=, 
   RemotingConfiguration=, 
   Infrastructure=, 
   BindingRedirects=, 
   Action=SecurityAction.Demand | 
    SecurityAction.Deny | 
    SecurityAction.LinkDemand, 
   Unrestricted=)
public function CreateObjRef( 
   requestedType : Type
) : ObjRef;
Managed Extensions for C++ 
[SecurityPermissionAttribute(Flags=SecurityPermissionFlag.Infrastructure, 
   Assertion=false, 
   UnmanagedCode=false, 
   SkipVerification=false, 
   Execution=false, 
   ControlThread=false, 
   ControlEvidence=false, 
   ControlPolicy=false, 
   SerializationFormatter=false, 
   ControlDomainPolicy=false, 
   ControlPrincipal=false, 
   ControlAppDomain=false, 
   RemotingConfiguration=false, 
   Infrastructure=true, 
   BindingRedirects=false, 
   Action=SecurityAction.Demand | 
    SecurityAction.Deny | 
    SecurityAction.LinkDemand, 
   Unrestricted=false)]
public: virtual ObjRef* CreateObjRef( 
   Type* requestedType
) 
C++/CLI 
[SecurityPermissionAttribute(Flags=SecurityPermissionFlag.Infrastructure, 
   Assertion=false, 
   UnmanagedCode=false, 
   SkipVerification=false, 
   Execution=false, 
   ControlThread=false, 
   ControlEvidence=false, 
   ControlPolicy=false, 
   SerializationFormatter=false, 
   ControlDomainPolicy=false, 
   ControlPrincipal=false, 
   ControlAppDomain=false, 
   RemotingConfiguration=false, 
   Infrastructure=true, 
   BindingRedirects=false, 
   Action=SecurityAction.Demand | 
    SecurityAction.Deny | 
    SecurityAction.LinkDemand, 
   Unrestricted=false)]
public:
virtual ObjRef^ CreateObjRef( 
   Type^ requestedType
) 

Parameters

requestedType

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

©2012 Intersoft Solutions Corp. All Rights Reserved.