PermissionSetEncoder.AddPermission Method

Definition

Overloads

AddPermission(String, ImmutableArray<Byte>)
AddPermission(String, BlobBuilder)

AddPermission(String, ImmutableArray<Byte>)

public:
 System::Reflection::Metadata::Ecma335::PermissionSetEncoder AddPermission(System::String ^ typeName, System::Collections::Immutable::ImmutableArray<System::Byte> encodedArguments);
public System.Reflection.Metadata.Ecma335.PermissionSetEncoder AddPermission (string typeName, System.Collections.Immutable.ImmutableArray<byte> encodedArguments);
member this.AddPermission : string * System.Collections.Immutable.ImmutableArray<byte> -> System.Reflection.Metadata.Ecma335.PermissionSetEncoder
Public Function AddPermission (typeName As String, encodedArguments As ImmutableArray(Of Byte)) As PermissionSetEncoder

Parameters

typeName
String
encodedArguments
ImmutableArray<Byte>

Returns

AddPermission(String, BlobBuilder)

public:
 System::Reflection::Metadata::Ecma335::PermissionSetEncoder AddPermission(System::String ^ typeName, System::Reflection::Metadata::BlobBuilder ^ encodedArguments);
public System.Reflection.Metadata.Ecma335.PermissionSetEncoder AddPermission (string typeName, System.Reflection.Metadata.BlobBuilder encodedArguments);
member this.AddPermission : string * System.Reflection.Metadata.BlobBuilder -> System.Reflection.Metadata.Ecma335.PermissionSetEncoder
Public Function AddPermission (typeName As String, encodedArguments As BlobBuilder) As PermissionSetEncoder

Parameters

typeName
String
encodedArguments
BlobBuilder

Returns

Applies to