RelatedObjectQuery.RelatedRole Propriedade
Definição
Obtém ou define a função que os objetos relacionados retornados devem desempenhar na relação.Gets or sets the role that the related objects returned should be playing in the relationship.
public:
property System::String ^ RelatedRole { System::String ^ get(); void set(System::String ^ value); };
public string RelatedRole { get; set; }
member this.RelatedRole : string with get, set
Public Property RelatedRole As String
Valor da propriedade
Retorna um String valor que contém a função dos objetos relacionados.Returns a String value containing the role of the related objects.
Comentários
Definir esse valor de propriedade substitui qualquer valor anterior armazenado no objeto.Setting this property value overrides any previous value stored in the object. A cadeia de caracteres de consulta é recriada para refletir a nova função.The query string is rebuilt to reflect the new role.
Valor da propriedadeProperty Value
Uma cadeia de caracteres que contém a função dos objetos relacionados.A string containing the role of the related objects.
Segurança do .NET Framework.NET Framework Security
Confiança total para o chamador imediato.Full trust for the immediate caller. Este membro não pode ser usado pelo código parcialmente confiável.This member cannot be used by partially trusted code. Para obter mais informações, consulte usando bibliotecas de código parcialmente confiável.For more information, see Using Libraries from Partially Trusted Code.