Label Estrutura
Definição
Importante
Algumas informações dizem respeito a um produto pré-lançado que pode ser substancialmente modificado antes de ser lançado. A Microsoft não faz garantias, de forma expressa ou implícita, em relação à informação aqui apresentada.
Representa um rótulo no fluxo de instruções.
Label é usado em conjunto com a ILGenerator classe.
public value class Label
public value class Label : IEquatable<System::Reflection::Emit::Label>
[System.Serializable]
public struct Label
[System.Serializable]
[System.Runtime.InteropServices.ComVisible(true)]
public struct Label
public readonly struct Label : IEquatable<System.Reflection.Emit.Label>
[<System.Serializable>]
type Label = struct
[<System.Serializable>]
[<System.Runtime.InteropServices.ComVisible(true)>]
type Label = struct
type Label = struct
Public Structure Label
Public Structure Label
Implements IEquatable(Of Label)
- Herança
- Atributos
- Implementações
Observações
A classe Rótulo é uma representação opaca de um rótulo usado pela ILGenerator classe. O token é usado para assinalar onde ocorrem etiquetas no fluxo IL. Os rótulos são criados usando DefineLabel(), e a sua posição é definida usando MarkLabel(Label).
Métodos
| Name | Description |
|---|---|
| Equals(Label) |
Indica se a instância atual é igual à especificada Label. |
| Equals(Object) |
Verifica se o objeto dado é uma instância de |
| GetHashCode() |
Gera um código de hash para esta instância. |
Operadores
| Name | Description |
|---|---|
| Equality(Label, Label) |
Indica se duas Label estruturas são iguais. |
| Inequality(Label, Label) |
Indica se duas Label estruturas não são iguais. |