Share via


BlockTag Constructor

Definition

public:
 BlockTag(Microsoft::VisualStudio::Text::SnapshotSpan span, Microsoft::VisualStudio::Text::SnapshotSpan statementSpan, Microsoft::VisualStudio::Text::Tagging::IBlockTag ^ parent, System::String ^ type, bool isCollapsible, bool isDefaultCollapsed, bool isImplementation, System::Object ^ collapsedForm, System::Object ^ collapsedHintForm);
 BlockTag(Microsoft::VisualStudio::Text::SnapshotSpan span, Microsoft::VisualStudio::Text::SnapshotSpan statementSpan, Microsoft::VisualStudio::Text::Tagging::IBlockTag const & parent, std::wstring const & type, bool isCollapsible, bool isDefaultCollapsed, bool isImplementation, winrt::Windows::Foundation::IInspectable const & collapsedForm, winrt::Windows::Foundation::IInspectable const & collapsedHintForm);
public BlockTag (Microsoft.VisualStudio.Text.SnapshotSpan span, Microsoft.VisualStudio.Text.SnapshotSpan statementSpan, Microsoft.VisualStudio.Text.Tagging.IBlockTag parent, string type, bool isCollapsible, bool isDefaultCollapsed, bool isImplementation, object collapsedForm, object collapsedHintForm);
new Microsoft.VisualStudio.Text.Tagging.BlockTag : Microsoft.VisualStudio.Text.SnapshotSpan * Microsoft.VisualStudio.Text.SnapshotSpan * Microsoft.VisualStudio.Text.Tagging.IBlockTag * string * bool * bool * bool * obj * obj -> Microsoft.VisualStudio.Text.Tagging.BlockTag
Public Sub New (span As SnapshotSpan, statementSpan As SnapshotSpan, parent As IBlockTag, type As String, isCollapsible As Boolean, isDefaultCollapsed As Boolean, isImplementation As Boolean, collapsedForm As Object, collapsedHintForm As Object)

Parameters

statementSpan
SnapshotSpan
parent
IBlockTag
type
String
isCollapsible
Boolean
isDefaultCollapsed
Boolean
isImplementation
Boolean
collapsedForm
Object
collapsedHintForm
Object

Applies to