Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Retrieves a list of the restrictions that are required when data objects are selected for the specified type.
Namespace: Microsoft.VisualStudio.Data.Framework
Assembly: Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)
Syntax
'Declaration
Public Function GetRequiredRestrictions ( _
typeName As String _
) As IList(Of String)
public IList<string> GetRequiredRestrictions(
string typeName
)
public:
virtual IList<String^>^ GetRequiredRestrictions(
String^ typeName
) sealed
abstract GetRequiredRestrictions :
typeName:string -> IList<string>
override GetRequiredRestrictions :
typeName:string -> IList<string>
public final function GetRequiredRestrictions(
typeName : String
) : IList<String>
Parameters
typeName
Type: System.StringThe data source–specific type name for which to get the required restrictions.
Return Value
Type: System.Collections.Generic.IList<String>
A list of the restrictions that are required when retrieving data objects for the current type.
Implements
IVsDataObjectSelector.GetRequiredRestrictions(String)
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | The typeName parameter is nulla null reference (Nothing in Visual Basic). |
Remarks
This method delegates the call to the GetRequiredRestrictions method and passes null for the second parameter.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.