AssemblyBuilder.EntryPoint Property

Definition

Returns the entry point of this assembly.

public:
 virtual property System::Reflection::MethodInfo ^ EntryPoint { System::Reflection::MethodInfo ^ get(); };
public override System.Reflection.MethodInfo EntryPoint { get; }
member this.EntryPoint : System.Reflection.MethodInfo
Public Overrides ReadOnly Property EntryPoint As MethodInfo

Property Value

The entry point of this assembly.

Exceptions

The caller does not have the required permission.

Security

ReflectionPermission
when invoked late-bound through mechanisms such as InvokeMember(String, BindingFlags, Binder, Object, Object[], ParameterModifier[], CultureInfo, String[]). Associated enumeration: MemberAccess.

Applies to