PermissionSetEncoder.AddPermission 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
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
參數
- typeName
- String
- encodedArguments
- ImmutableArray<Byte>
傳回
適用於
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
參數
- typeName
- String
- encodedArguments
- BlobBuilder