Metoda ItemsSourceCache.IItemsSourceCache.TryGetItemsSource —
Przestrzeń nazw: Microsoft.Internal.VisualStudio.PlatformUI
Zestaw: Microsoft.VisualStudio.Shell.11.0 (w Microsoft.VisualStudio.Shell.11.0.dll)
Składnia
'Deklaracja
Private Function TryGetItemsSource ( _
relationshipIdentity As String, _
<OutAttribute> ByRef source As IItemsSource _
) As Boolean Implements IItemsSourceCache.TryGetItemsSource
bool IItemsSourceCache.TryGetItemsSource(
string relationshipIdentity,
out IItemsSource source
)
Parametry
- relationshipIdentity
Typ: System.String
Wartość zwracana
Typ: System.Boolean
Implementuje
IItemsSourceCache.TryGetItemsSource(String, IItemsSource%)
Zabezpieczenia programu .NET Framework
- Pełne zaufanie do bezpośredniego wywołującego. Tego elementu członkowskiego nie można używać w kodzie częściowo zaufanym. Aby uzyskać więcej informacji, zobacz Przy użyciu bibliotek z częściowo zaufanego kodu..